bread-theme: add spotlight pill and stage theme support #45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/spotlight-pill"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the spotlight theme schema and styling used by the pill and stage, plus isolated bread-capture support for the spotlight screenshot views.
Verification: workspace tests passed with the gtk and extract feature sets, clippy passed for the workspace and each feature set, and the extract workspace build passed. Headless Sway smoke captures passed for the pill and stage views.
Dependency order: merge this PR before the Breadway/breadbar PR for BAR-27, BAR-30, and BAR-31. The breadbar PR uses this theme API and CSS.
PR #45 is open and linked; check / check (push) passed. Moving this card to REVIEW for independent review. It must merge before dependent breadbar PR #37.
Acceptance criteria as I read them: (1) add schema and validated defaults for workspace display, pill auto-hide, OSD style, and notification style, mapped to
bread-theme/src/shell/manifest.rs:655-714, 945-1027andbread-theme/src/shell/types.rs:178-207, 349-444; the spotlight manifest selects the requested modes atbread-theme/assets/shell/spotlight/theme.toml:72-140. (2) Provide the spotlight pill, stage, and surtitle styling with palette roles, mapped tobread-theme/assets/shell/base.css:1295-2230. (3) Keep other themes unchanged by default, covered by resolver defaults and the other-theme golden snapshots. (4) Support isolated spotlight captures, mapped tobread-capture/src/isolation.rsandbread-capture/src/main.rs; the reported headless Sway smoke captures exercise the pill and stage views.The new manifest checks and rendered CSS goldens are meaningful coverage, and the reported captures cover the visual states. CI
check / check (push)is green, and PR #45 is mergeable. Reviewed, looks ready to merge. No blocking findings or nits. I am leaving the merge to the user because bread-ecosystem is release-sensitive.Independent review passed with no blocking findings or nits. CI was green and PR #45 was mergeable. Merged #45 by squash at
d9ab179d; it unlocks dependent breadbar PR #37.