Skip to content

fix(control-ui): darken the Absolutely surface ramp - #130239

Merged
steipete merged 1 commit into
mainfrom
steipete/absolutely-darker
Aug 26, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/absolutely-darker

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

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 #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 --bg by hand, so they move with it. The existing pre-paint assertion in mount-fallback covers 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:

before

after

Measured, in-browser where noted:

Pairing Before After
Worst text pair (--muted on --bg-muted, in-browser) 4.68:1 5.42:1
--accent on --card 4.47:1 5.05:1 (AA where it previously was not)
--accent on --bg 4.86:1 5.47:1
--danger on its own subtle tint over --bg-muted 3.76:1 4.32:1

Tests and checks. ui/src/styles, ui/src/app, mount-fallback, and theme.test (10,632 passed), both theme E2E suites, pnpm format:check clean, stylelint exit 0, clean pnpm ui:build with no budget violations. Autoreview clean.

Stacked note: this touches the same base.css region as no other in-flight PR — #130232 adds new theme blocks further down the file — so the two land independently.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 26, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 26, 2026
@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 3:03 PM ET / 19:03 UTC.

ClawSweeper review

What this changes

Darkens the Absolutely dark Control UI surface ramp and updates its early page background, Appearance preview chip, and first-paint expectation to match.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep 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
Reviewed head: aa484568950f55c6d188abd6915c33eb34ccf4c9

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, internally consistent patch with no concrete defect found; exact-head UI E2E completion remains the outstanding merge gate.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored PR is exempt from the external-contributor proof gate; its body nevertheless supplies before/after browser captures and validation claims.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored PR is exempt from the external-contributor proof gate; its body nevertheless supplies before/after browser captures and validation claims.
Evidence reviewed 6 items Theme owner and aligned token change: The Absolutely dark-theme block owns the surface ramp; the patch updates its background, related surfaces, borders, and chrome together.
First-paint and runtime boundaries: The inline resolver reads persisted theme preferences before paint, and the runtime resolver later applies the same resolved theme and derives metadata color from --bg.
Existing regression coverage: The edited test evaluates the inline document shell in an isolated window and asserts the computed Absolutely dark background; existing node and browser suites enumerate Absolutely among all AA-checked themes.
Findings None None.
Security None None.

Live Verification

Command: pnpm ui:build

Result: PASS (completed)

../dist/control-ui/assets/shell-B1oByMWF.js                                           2.56 kB │ gzip:   1.30 kB │ map:     7.94 kB
../dist/control-ui/assets/webidl-C2iEcUXH.js                                          2.62 kB │ gzip:   1.37 kB │ map:     7.72 kB
../dist/control-ui/assets/puppet-vmUf8xpM.js                                          2.65 kB │ gzip:   1.29 kB │ map:     8.99 kB
../dist/control-ui/assets/pig-Bt8Qvkze.js                                             2.65 kB │ gzip:   1.49 kB │ map:     6.60 kB
../dist/control-ui/assets/forth-CEw5LND1.js                                           2.67 kB │ gzip:   1.42 kB │ map:     6.18 kB
../dist/control-ui/assets/dist-CglKcEOs.js                                            2.78 kB │ gzip:   1.60 kB │ map:     5.05 kB
../dist/control-ui/assets/input-dialog-Bcvu_G6y.js                                    2.82 kB │ gzip:   1.17 kB │ map:     8.64 kB
../dist/control-ui/assets/velocity-F0QlomFP.js                                        2.84 kB │ gzip:   1.20 kB │ map:     8.42 kB
../dist/control-ui/assets/session-progress-CVxr5LAu.js                                2.87 kB │ gzip:   1.16 kB │ map:     6.18 kB
../dist/control-ui/assets/workboard-mini-Dwht6t3l.js                                  2.88 kB │ gzip:   1.13 kB │ map:     5.60 kB
../dist/control-ui/assets/tiddlywiki-DLHM8fNz.js                                      2.92 kB │ gzip:   1.18 kB │ map:    11.09 kB
../dist/control-ui/assets/modelica--0xTveIu.js                                        2.94 kB │ gzip:   1.38 kB │ map:     8.06 kB
../dist/control-ui/assets/oz-DTY2GRqL.js                                              3.03 kB │ gzip:   1.38 kB │ map:     9.47 kB
../dist/control-ui/assets/r-CadXD0eR.js                                               3.06 kB │ gzip:   1.45 kB │ map:     9.92 kB
../dist/control-ui/assets/workboard-card-DJHJ3qQC.js                                  3.12 kB │ gzip:   1.16 kB │ map:     5.94 kB
../dist/control-ui/assets/gateway-page-controller-BPu36UX9.js                         3.16 kB │ gzip:   1.04 kB │ map:    10.09 kB
../dist/control-ui/assets/stex-CveJubUk.js                                            3.22 kB │ gzip:   1.26 kB │ map:    11.27 kB
../dist/control-ui/assets/lua-yYK_8aRA.js                                             3.27 kB │ gzip:   1.51 kB │ map:     7.76 kB
../dist/control-ui/assets/cypher-CIhKfSWw.js                                          3.33 kB │ gzip:   1.60 kB │ map:     8.52 kB
../dist/control-ui/assets/tiki-CryU3a6e.js                                            3.35 kB │ gzip:   1.35 kB │ map:    12.41 kB
../dist/control-ui/assets/sparql-ChxjJbEr.js                                          3.47 kB │ gzip:   1.70 kB │ map:     9.50 kB
../dist/control-ui/assets/vhdl-DlYBPd1w.js                                            3.47 kB │ gzip:   1.61 kB │ map:     9.63 kB
../dist/control-ui/assets/catalog-target-aosimmsJ.js                                  3.49 kB │ gzip:   1.42 kB │ map:    11.34 kB
../dist/control-ui/assets/dist-UiEpQGFe.js                                            3.54 kB │ gzip:   1.83 kB │ map:     6.94 kB
../dist/control-ui/assets/update-confirmation.runtime-CJb2hHC9.js                     3.54 kB │ gzip:   1.42 kB │ map:    11.07 kB
../dist/control-ui/assets/exec-approval-C8Yz-F13.js                                   3.57 kB │ gzip:   1.49 kB │ map:     9.94 kB
../dist/control-ui/assets/portaled-hovercard-DyIN9wuS.js                              3.58 kB │ gzip:   1.29 kB │ map:    10.73 kB
../dist/control-ui/assets/mscgen-Cfn4e7TB.js                                          3.64 kB │ gzip:   1.08 kB │ map:     9.69 kB
../dist/control-ui/assets/device-placement-DF2K-wBK.js                                3.73 kB │ gzip:   1.61 kB │ map:    13.00 kB
../dist/control-ui/assets/app-sidebar-workboard.runtime-BGiQnaHK.js                   3.74 kB │ gzip:   1.49 kB │ map:    10.50 kB
../dist/control-ui/assets/dashboards-page-vQDA
… output truncated …

Assertions:

  • PASS expect_output: built in

How this fits together

Control 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
Loading

Before merge

  • Resolve merge risk (P1) - Three exact-head Control UI E2E shards remain in progress, so merge readiness should wait for their terminal green results.
  • Complete next step (P2) - No repair lane is warranted because the source review found no discrete patch defect; wait for the running exact-head E2E checks and ordinary maintainer review.
Agent review details

Security

None.

PR surface

Source +3, Tests 0. Total +3 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 3 28 25 +3
Tests 1 1 1 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 29 26 +3

Review metrics

Metric Value Why it matters
Production versus test delta production +28/-25 (net +3); tests +1/-1 (net 0) The production delta is almost entirely token replacement plus updated durable contrast documentation; the sole test edit keeps the pre-paint mirror checked.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    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.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best 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.

Labels

Label justifications:

  • P3: This is a focused, opt-in Control UI visual polish change with no demonstrated functional regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored PR is exempt from the external-contributor proof gate; its body nevertheless supplies before/after browser captures and validation claims.

Evidence

What I checked:

  • Theme owner and aligned token change: The Absolutely dark-theme block owns the surface ramp; the patch updates its background, related surfaces, borders, and chrome together. (ui/src/styles/base.css:930, aa484568950f)
  • First-paint and runtime boundaries: The inline resolver reads persisted theme preferences before paint, and the runtime resolver later applies the same resolved theme and derives metadata color from --bg. (ui/index.html:24, aa484568950f)
  • Existing regression coverage: The edited test evaluates the inline document shell in an isolated window and asserts the computed Absolutely dark background; existing node and browser suites enumerate Absolutely among all AA-checked themes. (ui/src/app/mount-fallback.test.ts:95, aa484568950f)
  • Current-main comparison: The PR base is an ancestor of local origin/main, and the post-base ancestry path contains no changes to the palette, theme-resolution, or first-paint files; current main therefore does not already contain this retune. (ui/src/styles/base.css:930, 21df0f36a483)
  • Feature provenance: The merged theme expansion commit immediately preceding this PR introduced the related Control UI theme surface and was authored by steipete. (ui/src/styles/base.css:930, 08a42a561c8f)
  • Exact-head validation state: Provided PR context reports the relevant changed UI checks as successful and three UI E2E shards still in progress; this remains a normal merge gate rather than a patch defect. (aa484568950f)

Likely related people:

  • steipete: Authored the prior merged theme expansion and recent Control UI Appearance/theme work that owns the Absolutely palette. (role: feature owner and recent area contributor; confidence: high; commits: 08a42a561c8f, d585c0c1ec49; files: ui/src/styles/base.css, ui/src/app/theme.ts, ui/src/pages/config/view-appearance.ts)
  • Val Alexander: The original static mount-fallback commit is relevant to the inline first-paint background that this PR updates. (role: original static fallback contributor; confidence: medium; commits: 42fc84f4b4c6; files: ui/index.html, ui/src/app/mount-fallback.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Wait for the three running exact-head Control UI E2E shards to finish green.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-26T17:17:26.617Z sha 057aac0 :: needs maintainer review before merge. :: none

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.
@steipete
steipete force-pushed the steipete/absolutely-darker branch from 057aac0 to aa48456 Compare August 26, 2026 18:50
@steipete
steipete marked this pull request as ready for review August 26, 2026 18:50
@steipete
steipete merged commit a868258 into main Aug 26, 2026
174 of 179 checks passed
@steipete
steipete deleted the steipete/absolutely-darker branch August 26, 2026 19:28
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 27, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant