Repository navigation
feat(gui): redesign phase 1 — tokens & global CSS for figure/ground - #239
Merged
Merged
Conversation
Widen the dark surface ramp and add a dedicated --color-bg-canvas so the viewport reads as the lit figure instead of merging with the rails. Raise --color-border to ~3:1 on panels (WCAG 1.4.11). Make teal the single accent by retiring the teal-adjacent success hue (#32d2b6 -> #22c55e) and aligning the soft error/warning tokens to their saturated values. Add --color-text-label and prune the redundant 15px type rung. Fix light theme: deepen the ground so panels float and keep dark text on teal fills (white was a 2.9:1 AA fail). Honor prefers-reduced-motion by zeroing the transition tokens (no !important, which stylelint forbids). Refs #235
This was referenced Jun 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the GUI redesign epic #238. Implements Phase 1 (#235): pure token / global-CSS value changes, no component restructure.
Changes
--color-bg-canvasso the viewport reads as the lit work surface instead of merging with the rails.--color-border#242428→#3a3a40(~1.2:1 → ~3:1, WCAG 1.4.11) — inputs/panels are now clearly bounded.#32d2b6→#22c55e) so green stops colliding with brand teal; align soft error/warning to saturated values.--color-text-label; prune the redundant 15px (--font-size-md) rung.#f9f9fb→#eef0f4) so white panels float; keep dark text on teal (--color-text-inverse→#08201e) — white was a 2.9:1 fail.prefers-reduced-motionblock zeroing the transition tokens (no!important, which stylelint forbids); hover transitions added to.vp__btn,.toast__close,.log__btn.Verification
lint:css,lint:css:vars,check:svelte(0 errors),tsc, 315/315 vitest all green.npm run tauri dev(real backend): figure/ground confirmed in both dark and light themes.Refs #235