From a57938f1640c9ff7881da8ffbb69446e8fa7fb6a Mon Sep 17 00:00:00 2001 From: Stuart Baker Date: Wed, 5 Oct 2022 15:03:36 +0100 Subject: [PATCH 1/3] Rename "dark gray" to "light gray" --- runtime/themes/ayu_light.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/runtime/themes/ayu_light.toml b/runtime/themes/ayu_light.toml index 7ea4ef58ade5..8bab0929c920 100644 --- a/runtime/themes/ayu_light.toml +++ b/runtime/themes/ayu_light.toml @@ -34,23 +34,23 @@ # Interface "ui.background"= { bg = "background" } -"ui.cursor" = { bg = "yellow", fg = "dark_gray" } +"ui.cursor" = { bg = "yellow", fg = "light_gray" } "ui.cursor.match" = { fg = "orange" } -"ui.linenr" = { fg = "dark_gray" } +"ui.linenr" = { fg = "light_gray" } "ui.linenr.selected" = { fg = "orange" } "ui.cursorline" = { bg = "black" } "ui.statusline" = { fg = "foreground", bg = "black" } "ui.popup" = { bg = "black" } -"ui.window" = { fg = "dark_gray" } +"ui.window" = { fg = "light_gray" } "ui.help" = { fg = "foreground", bg = "black" } "ui.text" = { fg = "foreground" } -"ui.text.focus" = { bg = "dark_gray", fg = "foreground" } +"ui.text.focus" = { bg = "light_gray", fg = "foreground" } "ui.text.info" = { fg = "foreground" } -"ui.virtual.whitespace" = { fg = "dark_gray" } +"ui.virtual.whitespace" = { fg = "light_gray" } "ui.virtual.ruler" = { bg = "black" } "ui.menu" = { fg = "foreground", bg = "black" } "ui.menu.selected" = { bg = "orange", fg = "background" } -"ui.selection" = { bg = "dark_gray" } +"ui.selection" = { bg = "light_gray" } "warning" = { fg = "yellow" } "error" = { fg = "red", modifiers = ["bold"] } "info" = { fg = "blue", modifiers = ["bold"] } @@ -71,7 +71,7 @@ foreground = "#5c6166" black = "#e7eaed" blue = "#399ee6" cyan = "#478acc" -dark_gray = "#e7eaed" +light_gray = "#e7eaed" gray = "#787b8099" green = "#86b300" magenta = "#a37acc" From 618a9bb5817f5943ae8b962a91552c2bf84d4e02 Mon Sep 17 00:00:00 2001 From: Stuart Baker Date: Wed, 5 Oct 2022 15:03:54 +0100 Subject: [PATCH 2/3] Add colours for statusline modes --- runtime/themes/ayu_light.toml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/runtime/themes/ayu_light.toml b/runtime/themes/ayu_light.toml index 8bab0929c920..d519a9ade819 100644 --- a/runtime/themes/ayu_light.toml +++ b/runtime/themes/ayu_light.toml @@ -39,7 +39,6 @@ "ui.linenr" = { fg = "light_gray" } "ui.linenr.selected" = { fg = "orange" } "ui.cursorline" = { bg = "black" } -"ui.statusline" = { fg = "foreground", bg = "black" } "ui.popup" = { bg = "black" } "ui.window" = { fg = "light_gray" } "ui.help" = { fg = "foreground", bg = "black" } @@ -59,8 +58,13 @@ "diagnostic.info"= { fg = "blue", modifiers = ["underlined"] } "diagnostic.warning"= { fg = "yellow", modifiers = ["underlined"] } "diagnostic.error"= { fg = "red", modifiers = ["underlined"] } -"ui.bufferline" = { fg = "gray", bg = "dark_gray" } -"ui.bufferline.active" = { fg = "dark", bg = "background" } +"ui.bufferline" = { fg = "ui_foreground", bg = "ui_background" } +"ui.bufferline.active" = { fg = "ui_background", bg = "ui_foreground" } +"ui.statusline" = { fg = "ui_foreground", bg = "ui_background" } +"ui.statusline.inactive" = { fg = "ui_foreground", bg = "light_gray" } +"ui.statusline.normal" = { fg = "white", bg = "light_blue" } +"ui.statusline.insert" = { fg = "white", bg = "orange" } +"ui.statusline.select" = { fg = "white", bg = "magenta" } "special" = { fg = "orange" } @@ -68,8 +72,13 @@ background = "#fcfcfc" foreground = "#5c6166" +ui_foreground = "#8a9199" +ui_background = "#f8f9fa" + black = "#e7eaed" +white = "#fcfcfc" blue = "#399ee6" +light_blue = "#55b4d4" cyan = "#478acc" light_gray = "#e7eaed" gray = "#787b8099" @@ -78,4 +87,3 @@ magenta = "#a37acc" orange = "#fa8d3e" red = "#f07171" yellow = "#ffaa33" -dark = "#131721" From c675e1784215ebafa75c1490c332d2030818e412 Mon Sep 17 00:00:00 2001 From: Stuart Baker Date: Wed, 5 Oct 2022 15:13:13 +0100 Subject: [PATCH 3/3] Use UI background for inactive panes --- runtime/themes/ayu_light.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/themes/ayu_light.toml b/runtime/themes/ayu_light.toml index d519a9ade819..809436139264 100644 --- a/runtime/themes/ayu_light.toml +++ b/runtime/themes/ayu_light.toml @@ -61,7 +61,7 @@ "ui.bufferline" = { fg = "ui_foreground", bg = "ui_background" } "ui.bufferline.active" = { fg = "ui_background", bg = "ui_foreground" } "ui.statusline" = { fg = "ui_foreground", bg = "ui_background" } -"ui.statusline.inactive" = { fg = "ui_foreground", bg = "light_gray" } +"ui.statusline.inactive" = { fg = "ui_foreground", bg = "ui_background" } "ui.statusline.normal" = { fg = "white", bg = "light_blue" } "ui.statusline.insert" = { fg = "white", bg = "orange" } "ui.statusline.select" = { fg = "white", bg = "magenta" }