Skip to content

Commit 399d127

Browse files
committedNov 26, 2023
style(theme): modify duotone/eclipse/gruvbox selection color. (#609)
1 parent 4dcc32b commit 399d127

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed
 

‎themes/duotone/src/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const defaultSettingsDuotoneLight: CreateThemeOptions['settings'] = {
1515
gutterBackground: '#faf8f5',
1616
gutterForeground: '#cdc4b1',
1717
gutterBorder: 'transparent',
18-
lineHighlight: '#EFEFEF',
18+
lineHighlight: '#ddceb154',
1919
};
2020

2121
export const duotoneLightInit = (options?: Partial<CreateThemeOptions>) => {
@@ -45,7 +45,8 @@ export const defaultSettingsDuotoneDark: CreateThemeOptions['settings'] = {
4545
background: '#2a2734',
4646
foreground: '#6c6783',
4747
caret: '#ffad5c',
48-
selection: 'rgba(255, 255, 255, 0.1)',
48+
selection: '#91ff6c26',
49+
selectionMatch: '#91ff6c26',
4950
gutterBackground: '#2a2734',
5051
gutterForeground: '#545167',
5152
lineHighlight: '#36334280',

‎themes/eclipse/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const defaultSettingsEclipse: CreateThemeOptions['settings'] = {
99
selectionMatch: '#d7d4f0',
1010
gutterBackground: '#f7f7f7',
1111
gutterForeground: '#999',
12-
lineHighlight: '#e8f2ff',
12+
lineHighlight: '#006fff1c',
1313
gutterBorder: 'transparent',
1414
};
1515

‎themes/gruvbox/src/index.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export const defaultSettingsGruvboxDark: CreateThemeOptions['settings'] = {
1111
background: '#282828',
1212
foreground: '#ebdbb2',
1313
caret: '#ebdbb2',
14-
selection: '#bdae93',
15-
selectionMatch: '#bdae93',
16-
lineHighlight: '#3c3836',
14+
selection: '#b99d555c',
15+
selectionMatch: '#b99d555c',
16+
lineHighlight: '#baa1602b',
1717
gutterBackground: '#282828',
1818
gutterForeground: '#7c6f64',
1919
};
@@ -130,9 +130,9 @@ export const defaultSettingsGruvboxLight: CreateThemeOptions['settings'] = {
130130
background: '#fbf1c7',
131131
foreground: '#3c3836',
132132
caret: '#af3a03',
133-
selection: '#ebdbb2',
134-
selectionMatch: '#bdae93',
135-
lineHighlight: '#ebdbb2',
133+
selection: '#bdae9391',
134+
selectionMatch: '#bdae9391',
135+
lineHighlight: '#a37f2238',
136136
gutterBackground: '#ebdbb2',
137137
gutterForeground: '#665c54',
138138
gutterBorder: 'transparent',

0 commit comments

Comments
 (0)
Please sign in to comment.