miette/src/handlers
Benjamin Lee 1816b06a2e
feat(theme): restructure automatic color selection (#177)
Fixes: https://github.com/zkat/miette/issues/176

Change the default ansi color theme to use colors that are more similar
to the colors from the default RGB theme. In particular, don't use red
for any of the span labels, since that color is also used for errors.

BREAKING CHANGES:
* the default theme now prefers ANSI colors, even if RGB is supported
* `MietteHandlerOpts::ansi_colors` is removed
* `MietteHandlerOpts::rgb_color` now takes an enum that controls the
  color format used when color support is enabled, and has no effect
  otherwise.
2022-06-24 08:30:36 -07:00
..
debug.rs feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining (#165) 2022-05-05 08:32:37 -07:00
graphical.rs feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining (#165) 2022-05-05 08:32:37 -07:00
json.rs fix(json): Don't escape single-quotes, that's not valid json (#180) 2022-06-24 08:28:01 -07:00
mod.rs feat: add fancy-no-backtrace feature (#144) 2022-03-22 12:30:52 -07:00
narratable.rs feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining (#165) 2022-05-05 08:32:37 -07:00
theme.rs feat(theme): restructure automatic color selection (#177) 2022-06-24 08:30:36 -07:00