mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Tweaking the editor colors to allow for higher contrast of comment lines when text is selected. (#37544) (#37686)
This commit is contained in:
parent
8e37d72558
commit
105f72fb8e
1 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@ const themeName = IS_DARK_THEME ? darkTheme : lightTheme;
|
|||
|
||||
const syntaxTheme = {
|
||||
keyword: themeName.euiColorAccent,
|
||||
comment: themeName.euiColorMediumShade,
|
||||
comment: themeName.euiColorDarkShade,
|
||||
delimiter: themeName.euiColorSecondary,
|
||||
string: themeName.euiColorPrimary,
|
||||
number: themeName.euiColorWarning,
|
||||
|
@ -113,10 +113,10 @@ const syntaxTheme = {
|
|||
tag: themeName.euiColorAccent,
|
||||
symbol: themeName.euiColorDanger,
|
||||
foreground: themeName.euiColorDarkestShade,
|
||||
editorBackground: themeName.euiColorLightestShade,
|
||||
editorBackground: themeName.euiColorEmptyShade,
|
||||
lineNumbers: themeName.euiColorDarkShade,
|
||||
editorIndentGuide: themeName.euiColorLightShade,
|
||||
selectionBackground: themeName.euiColorLightShade,
|
||||
selectionBackground: `${IS_DARK_THEME ? '#343551' : '#E3E4ED'}`,
|
||||
editorWidgetBackground: themeName.euiColorLightestShade,
|
||||
editorWidgetBorder: themeName.euiColorLightShade,
|
||||
findMatchBackground: themeName.euiColorWarning,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue