Skip to content

UI: apply accent color to Settings page header and content headings - #52606

Merged
BunsDev merged 3 commits into
openclaw:mainfrom
SudheerDev-AIML:fix/52576-appearance-accent-headings
Apr 2, 2026
Merged

BunsDev merged 3 commits into
openclaw:mainfrom
SudheerDev-AIML:fix/52576-appearance-accent-headings

Conversation

@SudheerDev-AIML

Copy link
Copy Markdown
Contributor

Summary

Fixes #52576

The accent/theme color was not being applied to several elements in the Settings content area:

  • Page title ("Settings", "Appearance", etc.)
  • Top bar breadcrumb current label
  • Section headings ("Theme", "Roundness", "Connection")
  • Theme card labels ("Claw", "Knot", "Dash")

These all used var(--text-strong) (plain white/neutral), while the sidebar and active tab pill correctly used var(--accent).

Changes

  • ui/src/styles/layout.css: Changed .page-title and .dashboard-header__breadcrumb-current color from var(--text-strong) to var(--accent)
  • ui/src/styles/config.css: Changed .settings-appearance__heading and .settings-theme-card__label color from var(--text-strong) to var(--accent)

Test plan

  • Verified fix with all three themes (Claw, Knot, Dash) in dark mode
  • Verify in light mode for all three themes
  • Verify other Settings tabs (Config, Communication, Automation) show accent-colored page title
  • Verify non-Settings pages (Overview, Channels, Sessions) show accent-colored page title

Fixes openclaw#52576 — the accent/theme color was not applied to the Settings
page title, breadcrumb, section headings, or theme card labels. Changed
four CSS rules from var(--text-strong) to var(--accent) so they reflect
the selected theme consistently.
@greptile-apps

greptile-apps Bot commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR applies var(--accent) to four previously neutral (var(--text-strong)) UI elements so that the user's chosen theme color is consistently reflected across the Settings page header, breadcrumb, section headings, and theme card labels — matching the existing behavior of the sidebar and active-tab pill.

  • layout.css: .page-title and .dashboard-header__breadcrumb-current are now accent-colored globally (affects all pages, which is explicitly intended per the test plan).
  • config.css: .settings-appearance__heading and .settings-theme-card__label are now accent-colored within the Appearance settings panel.
  • The changes are minimal (4 lines), self-contained, and carry no logical or syntactical risk. The partial test plan (light-mode and non-Settings tabs still unchecked) is worth completing before merge but doesn't indicate a code defect.

Confidence Score: 5/5

  • Safe to merge — purely cosmetic CSS variable swaps with no logic or behavioral risk.
  • All four changes are straightforward substitutions of one CSS custom property for another, matching an already-established pattern in the codebase (sidebar, active tab). No new variables are introduced, no layout or structure is altered, and the scope of each selector is well understood. The only outstanding item is completing the manual test checklist (light mode, other tabs, non-Settings pages), which is a QA step rather than a code defect.
  • No files require special attention.

Reviews (1): Last reviewed commit: "UI: apply accent color to Settings page ..." | Re-trigger Greptile

@BunsDev BunsDev self-assigned this Mar 24, 2026
@BunsDev
BunsDev self-requested a review March 24, 2026 14:10
@BunsDev

BunsDev commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

Mind attaching before and after photos, please? @SudheerDev-AIML

@SudheerDev-AIML

Copy link
Copy Markdown
Contributor Author

Mind attaching before and after photos, please? @SudheerDev-AIML

Hi @BunsDev

Mind attaching before and after photos, please? @SudheerDev-AIML

HI @BunsDev
Thanks for reviewing. I attached test results into #52576 but missed attaching here. you can find it below

Test Results :

Before (bug)

Claw Knot Dash
Image Image Image

After (fix)

Claw Knot Dash
Image Image Image

Thank you.

@BunsDev

BunsDev commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

@SudheerDev-AIML

Please compare with latest version: run openclaw update

@SudheerDev-AIML

Copy link
Copy Markdown
Contributor Author

@SudheerDev-AIML

Please compare with latest version: run openclaw update

Hi @BunsDev — confirmed the bug still exists on the latest origin/main (8754d8e).

I checked all four CSS rules on latest main and they still use var(--text-strong):

  • ui/src/styles/layout.css → .page-title uses color: var(--text-strong)
  • ui/src/styles/layout.css → .dashboard-header__breadcrumb-current uses color: var(--text-strong)
  • ui/src/styles/config.css → .settings-appearance__heading uses color: var(--text-strong)
  • ui/src/styles/config.css → .settings-theme-card__label uses color: var(--text-strong)

My before/after screenshots were taken against v2026.3.22 (latest at time of testing)

Thanks.

@SudheerDev-AIML

Copy link
Copy Markdown
Contributor Author

Hi @BunsDev
Just following up on this to check it on where things stand approving this PR. Happy to make any further changed if needed.

Thanks for your time on reviewing this.

@BunsDev
BunsDev merged commit 48279dc into openclaw:main Apr 2, 2026
35 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Appearance theme accent color not applied to Settings header and content area headings

2 participants