Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(insomnia): element selections color #197

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading