From 4dcc32b7e2a6843839bf0ca8b5ab1c4baa48ade0 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 26 Nov 2023 17:30:52 +0800 Subject: [PATCH] style(theme): modify kimbie/material/monokai/nord/noctis selection color. (#609) --- themes/kimbie/src/color.ts | 2 +- themes/material/src/index.ts | 8 ++++---- themes/monokai-dimmed/src/color.ts | 6 +++--- themes/monokai/src/color.ts | 6 +++--- themes/noctis-lilac/src/index.ts | 2 +- themes/nord/src/index.ts | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/themes/kimbie/src/color.ts b/themes/kimbie/src/color.ts index 966f26f7f..d5eb6ed23 100644 --- a/themes/kimbie/src/color.ts +++ b/themes/kimbie/src/color.ts @@ -5,7 +5,7 @@ export const config = { selectionMatch: '#84613daa', cursor: '#d3af86', dropdownBackground: '#51412c', - activeLine: '#5e452b', + activeLine: '#5e452b52', matchingBracket: '#5e452b', keyword: '#98676a', storage: '#98676a', diff --git a/themes/material/src/index.ts b/themes/material/src/index.ts index 6e11b9c2e..70949f46d 100644 --- a/themes/material/src/index.ts +++ b/themes/material/src/index.ts @@ -5,12 +5,12 @@ export const defaultSettingsMaterial: CreateThemeOptions['settings'] = { background: '#2e3235', foreground: '#bdbdbd', caret: '#a0a4ae', - selection: '#d7d4f0', - selectionMatch: '#d7d4f0', + selection: '#d7d4f063', + selectionMatch: '#d7d4f063', gutterBackground: '#2e3235', gutterForeground: '#999', gutterActiveForeground: '#4f5b66', - lineHighlight: '#545b61', + lineHighlight: '#545b6130', }; export const defaultSettingsMaterialDark = defaultSettingsMaterial; @@ -131,7 +131,7 @@ export const defaultSettingsMaterialLight: CreateThemeOptions['settings'] = { foreground: '#90A4AE', caret: '#272727', selection: '#80CBC440', - selectionMatch: '#FAFAFA', + selectionMatch: '#80CBC440', gutterBackground: '#FAFAFA', gutterForeground: '#90A4AE', gutterBorder: 'transparent', diff --git a/themes/monokai-dimmed/src/color.ts b/themes/monokai-dimmed/src/color.ts index 4df507bd5..7b14f0b11 100644 --- a/themes/monokai-dimmed/src/color.ts +++ b/themes/monokai-dimmed/src/color.ts @@ -1,11 +1,11 @@ export const config = { background: '#1e1e1e', foreground: '#c5c8c6', - selection: '#4747a180', - selectionMatch: '#6767ce80', + selection: '#4747a1', + selectionMatch: '#4747a1', cursor: '#c07020', dropdownBackground: '#525252', - activeLine: '#303030', + activeLine: '#30303078', matchingBracket: '#303030', keyword: '#676867', storage: '#676867', diff --git a/themes/monokai/src/color.ts b/themes/monokai/src/color.ts index 15610e329..322825ea7 100644 --- a/themes/monokai/src/color.ts +++ b/themes/monokai/src/color.ts @@ -1,11 +1,11 @@ export const config = { background: '#272822', foreground: '#f8f8f2', - selection: '#4a4a7680', - selectionMatch: '#6a6a9680', + selection: '#4a4a76', + selectionMatch: '#4a4a76', cursor: '#f8f8f0', dropdownBackground: '#414339', - activeLine: '#3e3d32', + activeLine: '#3e3d3257', matchingBracket: '#3e3d32', keyword: '#F92672', storage: '#F92672', diff --git a/themes/noctis-lilac/src/index.ts b/themes/noctis-lilac/src/index.ts index f3e11de97..8868b9364 100644 --- a/themes/noctis-lilac/src/index.ts +++ b/themes/noctis-lilac/src/index.ts @@ -9,7 +9,7 @@ export const defaultSettingsNoctisLilac: CreateThemeOptions['settings'] = { selectionMatch: '#d5d1f2', gutterBackground: '#f2f1f8', gutterForeground: '#0c006b70', - lineHighlight: '#e1def3', + lineHighlight: '#16067911', }; export const noctisLilacInit = (options?: Partial) => { diff --git a/themes/nord/src/index.ts b/themes/nord/src/index.ts index fb14993f3..a23bbb711 100644 --- a/themes/nord/src/index.ts +++ b/themes/nord/src/index.ts @@ -5,12 +5,12 @@ export const defaultSettingsNord: CreateThemeOptions['settings'] = { background: '#2e3440', foreground: '#FFFFFF', caret: '#FFFFFF', - selection: '#3b4252', - selectionMatch: '#e5e9f0', + selection: '#4b556a', + selectionMatch: '#4b556a', gutterBackground: '#2e3440', gutterForeground: '#4c566a', gutterActiveForeground: '#d8dee9', - lineHighlight: '#4c566a', + lineHighlight: '#4c566a29', }; // Colors from https://www.nordtheme.com/docs/colors-and-palettes