From 17ed668aacd067c645d7de19d4dc7ae652aa760a Mon Sep 17 00:00:00 2001 From: P T Weir Date: Tue, 23 Jul 2024 12:03:00 +0100 Subject: fix(themes): Restore default theme, refactor (#2294) * fix(theme): let the base colour remain unchanged * fix(theme): split out default * fix(theme): make base theme 'default' not an empty string * wip(theme): return styles, not colors * wip(theme): tidy up module structure a little * wip(theme): removed unhandled references to foreground_color * chore: fix cargo fmt * feat(theme): allow crossterm-deserializable colors --- crates/atuin-client/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/atuin-client/config.toml') diff --git a/crates/atuin-client/config.toml b/crates/atuin-client/config.toml index 00343dbb..9cd833aa 100644 --- a/crates/atuin-client/config.toml +++ b/crates/atuin-client/config.toml @@ -234,7 +234,7 @@ records = true # [theme] ## Color theme to use for rendering in the terminal. -## There are some built-in themes, including the base theme which has the default colors, +## There are some built-in themes, including the base theme ("default"), ## "autumn" and "marine". You can add your own themes to the "./themes" subdirectory of your ## Atuin config (or ATUIN_THEME_DIR, if provided) as TOML files whose keys should be one or ## more of AlertInfo, AlertWarn, AlertError, Annotation, Base, Guidance, Important, and -- cgit v1.3.1