From 0654a1f0582fc21f18fe94f96a70116f95431841 Mon Sep 17 00:00:00 2001 From: Erasin Wang Date: Mon, 6 Jan 2025 00:27:38 +0800 Subject: [PATCH] Update onelight theme (#12399) --- book/src/themes.md | 1 + runtime/themes/onelight.toml | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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"