@@ -13,10 +13,10 @@ The default theme.toml can be found [here](https://github.com/helix-editor/helix
13Each line in the theme file is specified as below:
13Each line in the theme file is specified as below:
16−key = { fg = "#ffffff", bg = "#000000", modifiers = ["bold", "italic"] }
16+key = { fg = "#ffffff", bg = "#000000", underline = "#ff0000", modifiers = ["bold", "italic", "undercurled"] }
19−where `key` represents what you want to style, `fg` specifies the foreground color, `bg` the background color, and `modifiers` is a list of style modifiers. `bg` 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 color (only meaningful if an underline modifier is enabled), and `modifiers` is a list of style modifiers. `bg`, `underline` and `modifiers` can be omitted to defer to the defaults.
21To specify only the foreground color:
21To specify only the foreground color:
@@ -77,17 +77,21 @@ The following values may be used as modifiers.
78Less common modifiers might not be supported by your terminal emulator.
78Less common modifiers might not be supported by your terminal emulator.
80−| Modifier |
80+| Modifier |
82−| `bold` |
82+| `bold` |
84−| `italic` |
84+| `italic` |
85−| `underlined` |
89+| `double-underlined` |
86−| `slow_blink` |
90+| `slow_blink` |
87−| `rapid_blink` |
91+| `rapid_blink` |
88−| `reversed` |
92+| `reversed` |
89−| `hidden` |
93+| `hidden` |
90−| `crossed_out` |
94+| `crossed_out` |