miette/tests
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
..
common feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
drop feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
color_format.rs feat(theme): restructure automatic color selection (#177) 2022-06-24 08:30:36 -07:00
compiletest.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
derive.rs feat(label): use macro magic instead of optional flag for optional labels 2022-04-17 22:43:01 -07:00
graphical.rs fix(graphical): fix issue with duplicate labels when span len is 0 (#159) 2022-04-22 19:31:51 -07:00
narrated.rs fix(clippy): misc clippy fixes 2022-04-03 18:33:51 -07:00
test_autotrait.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_boxed.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_chain.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_context.rs fix(chain): correct `Chain` structure exported (#102) 2022-01-07 17:34:39 -08:00
test_convert.rs feat(report): Add conversion from Report to Box<dyn Error> (#149) 2022-04-03 13:10:32 -07:00
test_derive_attr.rs fix(clippy): misc clippy fixes 2022-04-03 18:33:51 -07:00
test_diagnostic_source_macro.rs Allow using smartpointers with source_diagnostic (#169) 2022-05-13 08:19:05 -07:00
test_downcast.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_fmt.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_handler_access.rs feat(Report): adds `.context()` method to the `Report` (#109) 2022-01-17 17:16:08 -08:00
test_json.rs fix(clippy): misc clippy fixes 2022-04-03 18:33:51 -07:00
test_location.rs feat(tabs): Add replace tabs with spaces option (#82) 2021-10-05 21:05:57 -07:00
test_macros.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_repr.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00
test_source.rs feat(report): anyhow-ify DiagnosticReport (#35) 2021-09-04 21:22:46 -07:00