on master help sign in
Add theme scopes for indent guides
commit924b4ebb39df71d8499e7d38015c2423a89a3e49 authorGokul Soumya <gokulps15@gmail.com> dateSat 2 Apr 2022, 16:40 (5 years ago) parent8c4c923
3 files changed+6
book/src/themes.md+1 runtime/themes/onedark.toml+3 theme.toml+2
book/src/themes.md+1
@@ -228,6 +228,7 @@ These scopes are used for theming the editor interface.
228228| `ui.text.info` | The key: command text in `ui.popup.info` boxes |
229229| `ui.virtual.ruler` | Ruler columns (see the [`editor.rulers` config][rulers-config])|
230230| `ui.virtual.whitespace` | Visible white-space characters |
231+| `ui.virtual.indent-guide` | Vertical indent width guides |
231232| `ui.menu` | Code and command completion menus |
232233| `ui.menu.selected` | Selected autocomplete item |
233234| `ui.selection` | For selections in the editing area |
runtime/themes/onedark.toml+3
@@ -47,6 +47,8 @@ diagnostic = { modifiers = ["underlined"] }
4747"error" = { fg = "red", modifiers = ["bold"] }
4848
4949"ui.background" = { bg = "black" }
50+"ui.virtual" = { fg = "faint-gray" }
51+"ui.virtual.indent-guide" = { fg = "faint-gray" }
5052"ui.virtual.whitespace" = { fg = "light-gray" }
5153"ui.virtual.ruler" = { bg = "gray" }
5254
@@ -85,5 +87,6 @@ white = "#ABB2BF"
8587black = "#282C34"
8688light-black = "#2C323C"
8789gray = "#3E4452"
90+faint-gray = "#3B4048"
8891light-gray = "#5C6370"
8992linenr = "#4B5263"
theme.toml+2
@@ -56,6 +56,8 @@ label = "honey"
5656"ui.text.focus" = { fg = "white" }
5757"ui.virtual" = { fg = "comet" }
5858
59+"ui.virtual.indent-guide" = { fg = "comet" }
60+
5961"ui.selection" = { bg = "#540099" }
6062"ui.selection.primary" = { bg = "#540099" }
6163# TODO: namespace ui.cursor as ui.selection.cursor?