@@ -13,10 +13,10 @@ The default theme.toml can be found [here](https://github.com/helix-editor/helix
1313Each line in the theme file is specified as below:
1414
1515```toml
16−key = { fg = "#ffffff", bg = "#000000", underline-color = "#ff0000", underline-style = "curl", modifiers = ["bold", "italic"] }
16+key = { fg = "#ffffff", bg = "#000000", underline = { color = "#ff0000", style = "curl"}, modifiers = ["bold", "italic"] }
1717```
1818
19−where `key` represents what you want to style, `fg` specifies the foreground color, `bg` the background color, `underline-style` the underline style, `underline-color` the underline color (only meaningful if an underline style is enabled), and `modifiers` is a list of style modifiers. `bg`, `underline` and `modifiers` can be omitted to defer to the defaults.
19+where `key` represents what you want to style, `fg` specifies the foreground color, `bg` the background color, `underline` the underline `style`/`color`, and `modifiers` is a list of style modifiers. `bg`, `underline` and `modifiers` can be omitted to defer to the defaults.
2020
2121To specify only the foreground color:
2222
@@ -89,12 +89,12 @@ Less common modifiers might not be supported by your terminal emulator.
8989| `hidden` |
9090| `crossed_out` |
9191
92−> Note: The `underlined` modifier is deprecated and only available for backwards compatability.
93−> Its behaviour is equivalent to `underline-style="line"`.
92+> Note: The `underlined` modifier is deprecated and only available for backwards compatibility.
93+> Its behavior is equivalent to setting `underline.style="line"`.
9494
9595### Underline Style
9696
97−One of the following values may be used as an `underline-style`.
97+One of the following values may be used as a value for `underline.style`.
9898
9999Some styles might not be supported by your terminal emulator.
100100