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/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/atuin-client/Cargo.toml') diff --git a/crates/atuin-client/Cargo.toml b/crates/atuin-client/Cargo.toml index 1fa1dea2..2b8c9222 100644 --- a/crates/atuin-client/Cargo.toml +++ b/crates/atuin-client/Cargo.toml @@ -71,7 +71,7 @@ indicatif = "0.17.7" tiny-bip39 = "1" # theme -crossterm = "0.27.0" +crossterm = { version = "0.27.0", features = ["serde"] } palette = { version = "0.7.5", features = ["serializing"] } lazy_static = "1.4.0" strum_macros = "0.26.3" -- cgit v1.3.1