You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GUI: remove dead/shadowing global CSS + honest token sweep #248
Part of #246. Blocker. Dead and shadowing CSS reintroduces the copy-by-hand duplication the redesign existed to remove, and tokens lie or go unused.
Findings (verified)
[HIGH] Stale React-era global classes shadow the scoped shell.src/styles/layout.css:2-67 still defines .menubar, .menubar__brand/__menu/__dropdown, .statusbar, .statusbar__* — the scoped MenuBar/StatusBar components also define these via their own <style>. Declarations present only in the global rule silently leak (padding: 0 1rem, gap: 0.5rem, padding-right: 1.5rem, margin-right: 1rem, font-weights), injecting untokenized magic into the new rhythm. Two prior cleanup commits (0466142, 6da0fc3) missed this.
[LOW] Duplicate .statusbar__dirty / statusbar rules in layout.css:63 and scoped StatusBar.svelte — style the dirty marker in one place only.
[LOW] Dead / redundant color tokenstokens.css:103-105 — unused --color-blue-500 / --color-slate-500; duplicate success/error/warning name pairs (keep --status-* as the semantic layer).
[LOW] Unused dimension tokenstokens.css:149-150 — --panel-header-height / --layer-row-height defined but never used; panel headers hardcode 1.75rem. Either consume them or delete.
[LOW] Status-dot magic sizesConnectionSection.svelte:98-99 (8px) vs StatusBar (7px) — standardize on one --dot-size token.
Acceptance
Delete the .menubar*/.statusbar* blocks from layout.css (keep .error-boundary); confirm the shell renders identically (the scoped components own these with tokens).
Remove the duplicate .statusbar__dirty block.
Remove dead tokens; consume or delete the unused dimension tokens; add --rail-width/--dot-size tokens and reference them.
Full gate (lint:css, lint:css:vars, check:svelte, test) + visual diff of menubar/statusbar before/after.
Activity
chore(gui): remove dead/shadowing CSS and sweep tokens