We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 566d6be commit 159f2b3Copy full SHA for 159f2b3
src/handlers/theme.rs
@@ -31,10 +31,16 @@ impl GraphicalTheme {
31
32
/// Graphical theme that draws using both ansi colors and unicode
33
/// characters.
34
+ ///
35
+ /// Note that full rgb colors aren't enabled by default because they're
36
+ /// an accessibility hazard, especially in the context of terminal themes
37
+ /// that can change the background color and make hardcoded colors illegible.
38
+ /// Such themes typically remap ansi codes properly, treating them more
39
+ /// like CSS classes than specific colors.
40
pub fn unicode() -> Self {
41
Self {
42
characters: ThemeCharacters::unicode(),
- styles: ThemeStyles::rgb(),
43
+ styles: ThemeStyles::ansi(),
44
}
45
46
0 commit comments