Repository navigation
fix(control-ui): darken the Absolutely surface ramp - #130239
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 3:03 PM ET / 19:03 UTC. ClawSweeper reviewWhat this changesDarkens the Absolutely dark Control UI surface ramp and updates its early page background, Appearance preview chip, and first-paint expectation to match. Merge readinessKeep this active maintainer PR open: the focused visual change is coherent and no patch defect was found, while exact-head UI E2E checks are still running. Priority: P3 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherControl UI resolves a saved appearance theme before the app mounts. The selected theme supplies visible surface tokens, while an inline background prevents a mismatched first paint. flowchart LR
A[Saved appearance preference] --> B[Early theme resolution]
B --> C[Inline first-paint background]
B --> D[Runtime theme application]
D --> E[Theme surface tokens]
E --> F[Control UI and Appearance preview]
C --> F
Before merge
Agent review detailsSecurityNone. PR surfaceSource +3, Tests 0. Total +3 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the unified palette change after exact-head UI E2E is green, preserving the shared --bg value across the stylesheet, first-paint shell, and preview chip. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR retunes an existing visual palette rather than reporting a reproducible runtime defect; its changed first-paint path has focused source coverage. Is this the best way to solve the issue? Yes. The palette owner is the Absolutely token block, and updating its two manual visual mirrors plus the first-paint assertion prevents visible drift without changing the shared theme resolver. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 21df0f36a483. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Absolutely shipped as the lightest dark theme in the set by a wide margin: its --bg #262624 sat well above Dash #1a1210, Claw #0e1015, and Knot #80808, which left the clay accent and the Lora prose with less separation than the palette was designed for. Steps the whole ramp down one notch (--bg #262624 -> #1c1c1a, with the card, elevated, hover, chrome, and border tiers following) and keeps the warm graphite cast. Text and accent tokens are untouched, so this is purely a surface change. Every measured pairing improved rather than regressed: worst text pair 4.68 -> 5.42:1 (in-browser, --muted on --bg-muted) accent on --card 4.47 -> 5.05:1 (AA where it previously was not) accent on --bg 4.86 -> 5.47:1 danger on its own subtle tint over --bg-muted 3.76 -> 4.32:1 The first-paint background in index.html and the Appearance preview chip mirror --bg by hand, so both move with it; the pre-paint assertion in mount-fallback covers that they stay in lockstep.
057aac0 to
aa48456
Compare
|
Merged via squash.
|
Absolutely shipped as the lightest dark theme in the set by a wide margin: its --bg #262624 sat well above Dash #1a1210, Claw #0e1015, and Knot openclaw#80808, which left the clay accent and the Lora prose with less separation than the palette was designed for. Steps the whole ramp down one notch (--bg #262624 -> #1c1c1a, with the card, elevated, hover, chrome, and border tiers following) and keeps the warm graphite cast. Text and accent tokens are untouched, so this is purely a surface change. Every measured pairing improved rather than regressed: worst text pair 4.68 -> 5.42:1 (in-browser, --muted on --bg-muted) accent on --card 4.47 -> 5.05:1 (AA where it previously was not) accent on --bg 4.86 -> 5.47:1 danger on its own subtle tint over --bg-muted 3.76 -> 4.32:1 The first-paint background in index.html and the Appearance preview chip mirror --bg by hand, so both move with it; the pre-paint assertion in mount-fallback covers that they stay in lockstep.
What Problem This Solves
Absolutely shipped as the lightest dark theme in the set by a wide margin. Its
--bg#262624sat well above Dash#1a1210, Claw#0e1015, and Knot#080808, which left the clay accent and the Lora prose with less separation from the surface than the palette was designed for.Why This Change Was Made
Steps the whole surface ramp down one notch —
--bg#262624→#1c1c1a, with the card, elevated, hover, chrome, and border tiers following — while keeping the warm graphite cast that distinguishes it from the cooler dark themes. Text and accent tokens are untouched, so this is purely a surface change; the theme still reads as clay-on-graphite, just seated deeper.index.html's first-paint background and the Appearance preview chip both mirror--bgby hand, so they move with it. The existing pre-paint assertion inmount-fallbackcovers that they stay in lockstep.User Impact
Absolutely looks closer to the other dark themes in depth, and every contrast pairing improved rather than regressed. Nothing changes for the other six themes or for Absolutely's light mode.
Evidence
Before (
#262624) and after (#1c1c1a), captured from a real browser against the built bundle:Measured, in-browser where noted:
--mutedon--bg-muted, in-browser)--accenton--card--accenton--bg--dangeron its own subtle tint over--bg-mutedTests and checks.
ui/src/styles,ui/src/app,mount-fallback, andtheme.test(10,632 passed), both theme E2E suites,pnpm format:checkclean, stylelint exit 0, cleanpnpm ui:buildwith no budget violations. Autoreview clean.Stacked note: this touches the same
base.cssregion as no other in-flight PR — #130232 adds new theme blocks further down the file — so the two land independently.