diff --git a/bread-theme/assets/shell/glass-workbench/theme.toml b/bread-theme/assets/shell/glass-workbench/theme.toml index 2de1bdf..aee634c 100644 --- a/bread-theme/assets/shell/glass-workbench/theme.toml +++ b/bread-theme/assets/shell/glass-workbench/theme.toml @@ -56,7 +56,7 @@ accent_to = "green" # workspace pills, and is reused for the bar's other small chips (cpu/ram/ # wifi/battery/control) so they all sit at the same height on the thinner # 36px flush bar. -chip_height = 20 +chip_height = 22 # No demo number for bar-icon size; scaled from liquid-motion's 24px by the # same 36/44 bar-height ratio liquid-motion itself uses for its 44px bar. icon_px = 18 diff --git a/bread-theme/assets/shell/liquid-motion/theme.toml b/bread-theme/assets/shell/liquid-motion/theme.toml index 1a05056..f629bc8 100644 --- a/bread-theme/assets/shell/liquid-motion/theme.toml +++ b/bread-theme/assets/shell/liquid-motion/theme.toml @@ -55,7 +55,7 @@ accent_from = "accent" accent_to = "teal" # Not in the plan's ยง4 schema list, but breadbar::CHIP_HEIGHT / ::ICON_PX # today. -chip_height = 32 +chip_height = 26 icon_px = 24 [bar.window] diff --git a/bread-theme/assets/shell/spotlight/theme.toml b/bread-theme/assets/shell/spotlight/theme.toml index 59034f1..0665f31 100644 --- a/bread-theme/assets/shell/spotlight/theme.toml +++ b/bread-theme/assets/shell/spotlight/theme.toml @@ -55,7 +55,7 @@ accent_to = "pink" # the dots (`.dots button`) are sized entirely by `dot_widths` below, not by # chip_height, but this token still feeds any other chip-shaped element # (e.g. a future result-row affordance) at the bar's own row height. -chip_height = 36 +chip_height = 22 # Demo: `.ico { width: 30px; height: 30px }` for a result row's icon # swatch โ€” the icon glyph itself sits inside that box with implicit # padding, so the icon_px passed to bread-launcher's `ResultsList` is sized @@ -105,7 +105,7 @@ style = "dots" show_empty = true # 0/1/2/3-or-more open windows โ†’ dot width in px # (`04-spotlight.html`'s `.dots button[data-n="N"]` rules). -dot_widths = [6, 10, 14, 18] +dot_widths = [8, 13, 17, 22] [modules.clock] # No clock label at all โ€” `launcher_entry`'s placeholder IS the clock diff --git a/bread-theme/src/shell/mod.rs b/bread-theme/src/shell/mod.rs index 16c17a2..5054a4b 100644 --- a/bread-theme/src/shell/mod.rs +++ b/bread-theme/src/shell/mod.rs @@ -530,7 +530,9 @@ mod tests { assert!(matches!(w.keyboard, Keyboard::None)); assert_eq!(w.layer, "top"); - assert_eq!(theme.tokens().chip_height(), 32); + // 26, not breadbar's historical 32: the user approved a single 26px chip + // highlight height on the interactive reference (bos-ui-demos/proposed/). + assert_eq!(theme.tokens().chip_height(), 26); assert_eq!(theme.tokens().icon_px(), 24); } @@ -905,7 +907,7 @@ mod tests { fn spotlight_workspaces_are_dots_with_the_demos_own_widths() { let theme = load_named(builtin::SPOTLIGHT_ID).expect("spotlight should resolve"); assert!(matches!(theme.modules().workspaces.style, WorkspaceStyle::Dots)); - assert_eq!(theme.modules().workspaces.dot_widths, [6, 10, 14, 18]); + assert_eq!(theme.modules().workspaces.dot_widths, [8, 13, 17, 22]); } #[test]