Unnamed repository; edit this file 'description' to name the repository.
Improve `onedarker` theme contrast `cursorline`/`selection` (#12833)
Mike Boutin 2025-02-18
parent ef375d6 · commit 1c47aec
-rw-r--r--runtime/themes/onedarker.toml6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/themes/onedarker.toml b/runtime/themes/onedarker.toml
index 221b394b..365cee49 100644
--- a/runtime/themes/onedarker.toml
+++ b/runtime/themes/onedarker.toml
@@ -65,9 +65,9 @@
"ui.cursor.primary" = { fg = "white", modifiers = ["reversed"] }
"ui.cursor.match" = { fg = "blue", modifiers = ["underlined"]}
-"ui.selection" = { bg = "light-gray" }
+"ui.selection" = { bg = "black", modifiers = ["reversed"] }
"ui.selection.primary" = { bg = "gray" }
-"ui.cursorline.primary" = { bg = "light-black" }
+"ui.cursorline.primary" = { bg = "dark-black" }
"ui.linenr" = { fg = "linenr" }
"ui.linenr.selected" = { fg = "white" }
@@ -83,6 +83,7 @@
"ui.bufferline.background" = { bg = "light-black" }
"ui.text" = { fg = "white" }
+"ui.text.directory" = { fg = "blue" }
"ui.text.focus" = { fg = "white", bg = "light-black", modifiers = ["bold"] }
"ui.help" = { fg = "white", bg = "gray" }
@@ -105,6 +106,7 @@ gold = "#D19A66"
cyan = "#46A6B2"
white = "#ABB2BF"
black = "#16181A"
+dark-black = "#12100E"
light-black = "#2C323C"
gray = "#252D30"
faint-gray = "#ABB2BF"