Commit Graph

1 Commits

Author SHA1 Message Date
6529eb61f8 xfstestsdb: Create a ColorScheme class
This will be used by tools to print out text with colored outut. I
provide 3 options:

  * A NoneScheme for printing text without any formatting
  * A DarkScheme with colors chosen for a dark terminal
  * A LightScheme with colors chosen for a light terminal

Users can set the XFSTESTSDB_COLORS environment variable to either
"none", "dark", or "light". If this environment variable isn't set, or
if it is set to an invalid value, then xfstestsdb will use dark mode by
default.

Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
2023-02-15 15:57:19 -05:00