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.
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.
To specify only the foreground color:
To specify only the foreground color:
@ -89,12 +89,12 @@ Less common modifiers might not be supported by your terminal emulator.
| `hidden` |
| `hidden` |
| `crossed_out` |
| `crossed_out` |
> Note: The `underlined` modifier is deprecated and only available for backwards compatability.
> Note: The `underlined` modifier is deprecated and only available for backwards compatibility.
> Its behaviour is equivalent to `underline-style="line"`.
> Its behavior is equivalent to setting `underline.style="line"`.
### Underline Style
### Underline Style
One of the following values may be used as an `underline-style`.
One of the following values may be used as a value for `underline.style`.
Some styles might not be supported by your terminal emulator.
Some styles might not be supported by your terminal emulator.