From 61c6e5e46a9caa45956239082ed8b6b524686453 Mon Sep 17 00:00:00 2001 From: P T Weir Date: Mon, 15 Jul 2024 10:18:46 +0100 Subject: feat(tui): Customizable Themes (#2236) * wip: add theme * feat(theme): basic theming approach * feat(theme): adds theming support * fix: split out palette without compact inspector * fix(theme): tidy up implementation * fix(theme): correct yaml to toml * fix(theme): typo in comments * chore: cheer up clippy * fix(themes): ensure tests cannot hit real loading directory * chore: rustfmt * chore: rebase * feat(themes): add rgb hexcode support * fix(theme): add tests * fix(theme): use builtin log levels and correct debug test * feat(theme): adds the ability to derive from a non-base theme * fix(theme): warn if the in-file name of a theme does not match the filename * chore: tidy for rustfmt and clippy * chore: tidy for rustfmt and clippy --- crates/atuin-client/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crates/atuin-client/Cargo.toml') diff --git a/crates/atuin-client/Cargo.toml b/crates/atuin-client/Cargo.toml index 79a2f0a6..7e050f65 100644 --- a/crates/atuin-client/Cargo.toml +++ b/crates/atuin-client/Cargo.toml @@ -70,6 +70,14 @@ sha2 = { version = "0.10", optional = true } indicatif = "0.17.7" tiny-bip39 = "1" +# theme +crossterm = "0.27.0" +palette = { version = "0.7.5", features = ["serializing"] } +lazy_static = "1.4.0" +strum_macros = "0.26.3" +strum = { version = "0.26.2", features = ["strum_macros"] } + [dev-dependencies] tokio = { version = "1", features = ["full"] } pretty_assertions = { workspace = true } +testing_logger = "0.1.1" -- cgit v1.3.1