Update onelight theme (#12399)

This commit is contained in:
Erasin Wang 2025-01-06 00:27:38 +08:00 committed by GitHub
parent 353176082e
commit 0654a1f058
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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"