Skip to content

Commit

Permalink
Update onelight theme (helix-editor#12399)
Browse files Browse the repository at this point in the history
  • Loading branch information
erasin authored and rongyi committed Jan 8, 2025
1 parent 15ccf01 commit a2ec72d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions book/src/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 8 additions & 1 deletion runtime/themes/onelight.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down Expand Up @@ -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" }
Expand All @@ -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" } }
Expand All @@ -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"
Expand Down

0 comments on commit a2ec72d

Please sign in to comment.