diff --git a/packages/insomnia/index.js b/packages/insomnia/index.js index 8159aae..3cd1fa1 100644 --- a/packages/insomnia/index.js +++ b/packages/insomnia/index.js @@ -10,6 +10,7 @@ const colors = { accent9: '#3b334b', accent10: '#0f0f0f', accent11: '#000000', + accent12: '#4d466e', } module.exports.themes = [ @@ -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}; diff --git a/packages/insomnia/package.json b/packages/insomnia/package.json index eb66575..dfde86b 100644 --- a/packages/insomnia/package.json +++ b/packages/insomnia/package.json @@ -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", diff --git a/src/ports/insomnia/index.ts b/src/ports/insomnia/index.ts index 50d91a5..3eee172 100644 --- a/src/ports/insomnia/index.ts +++ b/src/ports/insomnia/index.ts @@ -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') diff --git a/src/ports/insomnia/templates/index.js b/src/ports/insomnia/templates/index.js index 6be2c42..07af4e2 100644 --- a/src/ports/insomnia/templates/index.js +++ b/src/ports/insomnia/templates/index.js @@ -10,6 +10,7 @@ const colors = { accent9: '{{ accent23 }}', accent10: '{{ accent0 }}', accent11: '{{ accent11 }}', + accent12: '{{ accent22 }}', } module.exports.themes = [ @@ -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};