Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'book/src/themes.md')
-rw-r--r--book/src/themes.md26
1 files changed, 1 insertions, 25 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index 353a4684..dc377db1 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -2,17 +2,6 @@
To use a theme add `theme = "<name>"` to the top of your [`config.toml`](./configuration.md) file, or select it during runtime using `:theme <name>`.
-Separate themes can be configured for light and dark modes. On terminals supporting [mode 2031 dark/light detection](https://github.com/contour-terminal/contour/blob/master/docs/vt-extensions/color-palette-update-notifications.md), the theme mode is detected from the terminal.
-
-```toml
-[theme]
-dark = "catppuccin_frappe"
-light = "catppuccin_latte"
-## Optional. Used if the terminal doesn't declare a preference.
-## Defaults to the theme set for `dark` if not specified.
-# fallback = "catppuccin_frappe"
-```
-
## Creating a theme
Create a file with the name of your theme as the file name (i.e `mytheme.toml`) and place it in your `themes` directory (i.e `~/.config/helix/themes` or `%AppData%\helix\themes` on Windows). The directory might have to be created beforehand.
@@ -141,17 +130,6 @@ inherits = "boo_berry"
berry = "#2A2A4D"
```
-### Rainbow
-
-The `rainbow` key is used for rainbow highlight for matching brackets.
-The key is a list of styles.
-
-```toml
-rainbow = ["#ff0000", "#ffa500", "#fff000", { fg = "#00ff00", modifiers = ["bold"] }]
-```
-
-Colors from the palette and modifiers may be used.
-
### Scopes
The following is a list of scopes available to use for styling:
@@ -193,10 +171,8 @@ We use a similar set of scopes as
- `comment` - Code comments
- `line` - Single line comments (`//`)
- - `documentation` - Line documentation comments (e.g. `///` in Rust)
- `block` - Block comments (e.g. (`/* */`)
- - `documentation` - Block documentation comments (e.g. `/** */` in Rust)
- - `unused` - Unused variables and patterns, e.g. `_` and `_foo`
+ - `documentation` - Documentation comments (e.g. `///` in Rust)
- `variable` - Variables
- `builtin` - Reserved language variables (`self`, `this`, `super`, etc.)