Skip to content

Commit

Permalink
Merge pull request #197 from daltonmenezes/fix/insomnia-element-selec…
Browse files Browse the repository at this point in the history
…tions-color

fix(insomnia): element selections color
  • Loading branch information
daltonmenezes authored Sep 26, 2023
2 parents d9716b1 + b972ec9 commit 9bb266b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/insomnia/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const colors = {
accent9: '#3b334b',
accent10: '#0f0f0f',
accent11: '#000000',
accent12: '#4d466e',
}

module.exports.themes = [
Expand Down Expand Up @@ -44,6 +45,10 @@ module.exports.themes = [
background: ${colors.accent3};
}
::selection {
background: ${colors.accent12};
}
.react-tabs .react-tabs__tab .bubble {
background: ${colors.accent3};
color: ${colors.accent8};
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "insomnia-plugin-aura-theme",
"description": "A beautiful dark theme for Insomnia",
"version": "2.0.2",
"version": "2.0.3",
"license": "MIT",
"insomnia": {
"name": "aura-theme",
Expand Down
2 changes: 1 addition & 1 deletion src/ports/insomnia/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function InsomniaPort(Aura: AuraAPI) {
const portSlug = isDev ? `${info.slug}-dev` : info.slug
const displayName = isDev ? `${info.displayName} Dev` : info.displayName
const packageName = isDev ? `${npmPackage}-dev` : npmPackage
const version = '2.0.2'
const version = '2.0.3'
const previewURL = `https://github.com/${info.author.username}/assets/blob/master/images/${info.slug}/aura-insomnia-preview.png?raw=true`
const templateFolder = resolve(__dirname, 'templates')

Expand Down
5 changes: 5 additions & 0 deletions src/ports/insomnia/templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const colors = {
accent9: '{{ accent23 }}',
accent10: '{{ accent0 }}',
accent11: '{{ accent11 }}',
accent12: '{{ accent22 }}',
}

module.exports.themes = [
Expand Down Expand Up @@ -44,6 +45,10 @@ module.exports.themes = [
background: ${colors.accent3};
}
::selection {
background: ${colors.accent12};
}
.react-tabs .react-tabs__tab .bubble {
background: ${colors.accent3};
color: ${colors.accent8};
Expand Down

0 comments on commit 9bb266b

Please sign in to comment.