Unnamed repository; edit this file 'description' to name the repository.
Update onelight theme (#12399)
Erasin Wang 2025-01-05
parent 3531760 · commit 0654a1f
-rw-r--r--book/src/themes.md1
-rw-r--r--runtime/themes/onelight.toml9
2 files changed, 9 insertions, 1 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index 62279356..412d17ef 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -336,5 +336,6 @@ These scopes are used for theming the editor interface:
| `diagnostic.error` | Diagnostics error (editing area) |
| `diagnostic.unnecessary` | Diagnostics with unnecessary tag (editing area) |
| `diagnostic.deprecated` | Diagnostics with deprecated tag (editing area) |
+| `tabstop` | Snippet placeholder |
[editor-section]: ./configuration.md#editor-section
diff --git a/runtime/themes/onelight.toml b/runtime/themes/onelight.toml
index e395716d..b812670d 100644
--- a/runtime/themes/onelight.toml
+++ b/runtime/themes/onelight.toml
@@ -91,13 +91,14 @@
"markup.quote" = { fg = "grey" }
"markup.raw" = { fg = "brown" }
"markup.raw.inline" = { fg = "green" }
-"markup.raw.block" = { fg = "grey" }
+"markup.raw.block" = { fg = "brown" }
"diff" = { fg = "red" }
"diff.plus" = { fg = "green" }
"diff.minus" = { fg = "red" }
"diff.delta" = { fg = "cyan" }
"diff.delta.moved" = { fg = "cyan" }
+"diff.delta.conflict" = {fg = "blue"}
"ui.background" = { bg = "white" }
"ui.background.separator" = { bg = "white" }
@@ -133,6 +134,7 @@
"ui.text.focus" = { fg = "red", bg = "grey-300", modifiers = ["bold"] }
"ui.text.inactive" = { fg = "grey" }
"ui.text.info" = { fg = "black" }
+"ui.text.directory" = { fg = "blue", underline = { style = "line" } }
"ui.virtual" = { fg = "grey-500" }
"ui.virtual.ruler" = { bg = "grey-200" }
@@ -159,6 +161,9 @@
"ui.highlight" = { bg = "grey-300" }
+"ui.picker.header" = { fg = "purple"}
+"ui.picker.header.active" = { fg = "blue"}
+
"diagnostic.info" = { underline = { color = "blue", style = "dotted" } }
"diagnostic.hint" = { underline = { color = "green", style = "dashed" } }
"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } }
@@ -171,6 +176,8 @@
"warning" = { fg = "yellow", modifiers = ["bold"] }
"error" = { fg = "red", modifiers = ["bold"] }
+"tabstop" = { modifiers = ["italic"], bg = "grey-300" }
+
[palette]
white = "#FAFAFA"
yellow = "#FF6F00"