breadbar/src/bar
Breadway 70fe814593 theme: uniform chip height, fix hamburger radius cascade, spotlight dot spec, first-paint trail bug
Decision #1 (one chip highlight height per bar, vertically centred): the
.stat-pair/.stat-pair.icon-only/.media-widget/workspace-btn CSS all sized
to their own content box before this (min-height: 0, or a stale 32/20px
figure), which is why battery sat high and wifi/menu ran taller than their
neighbours. Added a hardcoded approved_chip_height() (26/22/22 by
WorkspaceStyle, matching the demo spec) since bread-ecosystem's own
chip_height token (32/20/36) predates this pass and disagrees with it, and
that repo is a sibling agent's this cycle.

Also found and fixed a second copy of the hamburger-corner-mismatch bug:
.control-panel-btn (hamburger only) hardcoded its own border-radius/
min-width/min-height *later* in the cascade than .stat-pair, silently
winning over chip_radius/chip_height regardless of the icon-only fix
already in place. Dropped the four conflicting properties so .stat-pair
cascades through unchanged.

Spotlight workspace dots: bumped to the approved Option B spec (10px
tall, widths 8/13/17/22 by open-window count) — the prior pass landed
9px/[6,10,14,18], one generation behind. dot_widths is likewise
theme.toml-derived and stale, so overridden locally with a comment
rather than edited upstream.

Workspace row "sits low on first paint" bug: root cause was the ws-in
entrance animation (row-in keyframe, margin-top 8px -> 0) playing on
every button during the very first rebuild_buttons call, racing
WorkspaceTrail::place()'s single-shot geometry sample and freezing the
trail pill a few px low until the next real switch re-measured settled
layout. The demo never animates the initial row in at all — only
subsequently-added workspaces should. Suppressed ws-in specifically on
the first build (button_map starts empty exactly once).

Also fixed: make_button's set_size_request was still pinning the stale
tokens().chip_height() as a hard GTK minimum, which would have out-ranked
the CSS min-height fix above for Trail/Pill workspace pills.
2026-08-31 15:45:25 +08:00
..
bluetooth.rs Design refresh: new icon assets, bluetooth popover, notification urgency styling, RAM/power draw in control panel 2026-07-17 14:36:33 +08:00
clock.rs bar: implement glass-workbench's three module variants (Phase 5) 2026-08-31 15:45:25 +08:00
control.rs Add audio output switching and fix the workspace trail 2026-08-16 14:04:05 +08:00
media.rs Release 0.2.0: media widget, wifi popover, control panel 2026-06-24 06:43:52 +08:00
mod.rs bar: assemble modules from [bar.slots] instead of a fixed source order 2026-08-31 15:45:25 +08:00
slots.rs bar: route Lua widgets to any [bar.slots] slot, not just four fixed spots 2026-08-31 15:45:25 +08:00
stats.rs clippy: fix char-comparison and map_or lints 2026-08-23 14:57:51 +08:00
tray.rs feat: add system tray (StatusNotifierWatcher / SNI) 2026-06-11 22:31:25 +08:00
wifi.rs Bind each bar to its output palette and finish the island chrome 2026-08-16 13:23:31 +08:00
workspaces.rs theme: uniform chip height, fix hamburger radius cascade, spotlight dot spec, first-paint trail bug 2026-08-31 15:45:25 +08:00