aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-client/src/theme.rs
diff options
context:
space:
mode:
authorP T Weir <phil.weir@flaxandteal.co.uk>2024-10-07 16:54:07 +0100
committerGitHub <noreply@github.com>2024-10-07 08:54:07 -0700
commit4c2d8201dccdf8571a71a6e969ca9557b1c5fdf2 (patch)
tree79e2a5827224f36ec3a5edab65c9def087f22b4d /crates/atuin-client/src/theme.rs
parentfix(deps): pin tiny_bip to 1.0.0 until breaking change resolved (#2412) (diff)
downloadatuin-4c2d8201dccdf8571a71a6e969ca9557b1c5fdf2.zip
feat: Ultracompact Mode (search-only) (#2357)
* feat: add always_show_tabs setting * feat(ultracompact): extra-compact options * feat(ultracompact): enable via auto_hide_height * feat(ultracompact): clarify comment * fix(theming): minor tidyup to theming comment * chore: rustfmt/clippy corrections * chore: testing if CI issue was transient
Diffstat (limited to 'crates/atuin-client/src/theme.rs')
-rw-r--r--crates/atuin-client/src/theme.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin-client/src/theme.rs b/crates/atuin-client/src/theme.rs
index d45f1e9d..9ebe6f9c 100644
--- a/crates/atuin-client/src/theme.rs
+++ b/crates/atuin-client/src/theme.rs
@@ -53,8 +53,8 @@ pub struct ThemeDefinitionConfigBlock {
use crossterm::style::{Color, ContentStyle};
-// For now, a theme is specifically a mapping of meanings to colors, but it may be desirable to
-// expand that in the future to general styles.
+// For now, a theme is loaded as a mapping of meanings to colors, but it may be desirable to
+// expand that in the future to general styles, so we populate a Meaning->ContentStyle hashmap.
pub struct Theme {
pub name: String,
pub parent: Option<String>,