Default to ANSI colors even if truecolor is available? #176
Labels
breaking
A semver-major breaking change
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently the default color scheme from
GraphicalTheme::default
will prefer truecolor to ansi colors, if available. Many users have terminals with a specific color scheme configured for the ANSI colors, and CLI tools that synthesize their own color scheme with arbitrary RGB values tend to look very out of place. This is particularly bad with a non-black background, which can result in text with unreadably low contrast. My personal preference would be for truecolor to only be used by default in situations where the exact color value matters rather than the semantic label of the color. For example, truecolor-by-default makes sense for a CLI image viewer or a tool to visualize color hex codes. Error diagnostics fall pretty cleanly into the "exact color values don't matter but semantics do" group.This is, however, a subjective thing, and no hard feelings if the
miette
maintainers don't agree and want to keep the current behavior. I've set upFORCECOLOR=1
on my machine, so things look fine for me either way.The text was updated successfully, but these errors were encountered: