You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 `style`/`color`, and `modifiers` is a list of style modifiers. `bg`, `underline` and `modifiers` can be omitted to defer to the defaults.
20
20
21
21
To specify only the foreground color:
22
22
@@ -77,17 +77,35 @@ The following values may be used as modifiers.
77
77
78
78
Less common modifiers might not be supported by your terminal emulator.
79
79
80
+
| Modifier |
81
+
| --- |
82
+
|`bold`|
83
+
|`dim`|
84
+
|`italic`|
85
+
|`underlined`|
86
+
|`slow_blink`|
87
+
|`rapid_blink`|
88
+
|`reversed`|
89
+
|`hidden`|
90
+
|`crossed_out`|
91
+
92
+
> Note: The `underlined` modifier is deprecated and only available for backwards compatibility.
93
+
> Its behavior is equivalent to setting `underline.style="line"`.
94
+
95
+
### Underline Style
96
+
97
+
One of the following values may be used as a value for `underline.style`.
98
+
99
+
Some styles might not be supported by your terminal emulator.
0 commit comments