Skip to content

Commit

Permalink
style(theme): modify duotone/eclipse/gruvbox selection color. (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 26, 2023
1 parent 4dcc32b commit 399d127
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions themes/duotone/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const defaultSettingsDuotoneLight: CreateThemeOptions['settings'] = {
gutterBackground: '#faf8f5',
gutterForeground: '#cdc4b1',
gutterBorder: 'transparent',
lineHighlight: '#EFEFEF',
lineHighlight: '#ddceb154',
};

export const duotoneLightInit = (options?: Partial<CreateThemeOptions>) => {
Expand Down Expand Up @@ -45,7 +45,8 @@ export const defaultSettingsDuotoneDark: CreateThemeOptions['settings'] = {
background: '#2a2734',
foreground: '#6c6783',
caret: '#ffad5c',
selection: 'rgba(255, 255, 255, 0.1)',
selection: '#91ff6c26',
selectionMatch: '#91ff6c26',
gutterBackground: '#2a2734',
gutterForeground: '#545167',
lineHighlight: '#36334280',
Expand Down
2 changes: 1 addition & 1 deletion themes/eclipse/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const defaultSettingsEclipse: CreateThemeOptions['settings'] = {
selectionMatch: '#d7d4f0',
gutterBackground: '#f7f7f7',
gutterForeground: '#999',
lineHighlight: '#e8f2ff',
lineHighlight: '#006fff1c',
gutterBorder: 'transparent',
};

Expand Down
12 changes: 6 additions & 6 deletions themes/gruvbox/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export const defaultSettingsGruvboxDark: CreateThemeOptions['settings'] = {
background: '#282828',
foreground: '#ebdbb2',
caret: '#ebdbb2',
selection: '#bdae93',
selectionMatch: '#bdae93',
lineHighlight: '#3c3836',
selection: '#b99d555c',
selectionMatch: '#b99d555c',
lineHighlight: '#baa1602b',
gutterBackground: '#282828',
gutterForeground: '#7c6f64',
};
Expand Down Expand Up @@ -130,9 +130,9 @@ export const defaultSettingsGruvboxLight: CreateThemeOptions['settings'] = {
background: '#fbf1c7',
foreground: '#3c3836',
caret: '#af3a03',
selection: '#ebdbb2',
selectionMatch: '#bdae93',
lineHighlight: '#ebdbb2',
selection: '#bdae9391',
selectionMatch: '#bdae9391',
lineHighlight: '#a37f2238',
gutterBackground: '#ebdbb2',
gutterForeground: '#665c54',
gutterBorder: 'transparent',
Expand Down

0 comments on commit 399d127

Please sign in to comment.