Conversation
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.
What changed
Stylesheet cleanup for the operator dashboard with no visible change:
The built CSS shrinks from about 160 KB to 117 KB.
Visible in: admin (nothing should look different).
Before you start
admin.civfix.dev, once Admin test harness and characterization safety net #38 to Admin comment and em dash sweep #41 and this PR have merged to main. Compare side by side with productionadmin.civfix.org, which still has the old CSS.Verify
[Admin]
Regression
Every section: [Admin]
Not covered
Findings addressed
pulseSoft,draftPing,panelFadeIn,sheetRise). Kept, with reasons:leaflet-*, because Leaflet applies them;kind-*andhue-*, because the code builds them dynamically;.body, which collides with.qrow .body.#fffbecomesvar(--card)for surfaces orvar(--fg-on-color)for text on color, plus--ink-3and--sun-600. Leaflet pin fills that equal a token usestyle="fill:var(--x)". No color value changed.compose-modal,hub-spark-empty,res-rowand thepg-seowrapper class had no CSS rule, and are removed from the markup.--sidebar-wand unused palette steps, spacing, radius and duration tokens.--cat-*stays: it is built dynamically and mirrors the contract.Decisions for the reviewer
@civfix/sharedtokens (for example--bloom#FF7A6B against the token #F0685C). Aligning them would visibly recolor production, so it is left as an open design decision.Verification
pnpm lint,pnpm typecheck,pnpm buildandpnpm testpass: 98 files, 1,056 tests.var()from:root:🤖 Generated with Claude Code