Skip to content

Adapt remaining light-only placeholder and chart colors to dark theme - #5498

Merged
norman-abramovitz merged 2 commits into
cloudfoundry:developfrom
nabramovitz:feat/5494-finish-bare-token-sweep
Jun 25, 2026
Merged

Adapt remaining light-only placeholder and chart colors to dark theme#5498
norman-abramovitz merged 2 commits into
cloudfoundry:developfrom
nabramovitz:feat/5494-finish-bare-token-sweep

Conversation

@nabramovitz

Copy link
Copy Markdown
Contributor

Follow-up to the theme-token color sweep. Triaging the component SCSS files the sweep left with raw hex turned up two colors that genuinely do not adapt to the dark theme:

  • The recent-apps loading placeholder bars (compact-app-card) stayed light grey on the dark card. Given a dark-theme fill, matching the dark border treatment already in that file.
  • The usage chart unknown swatch (simple-usage-chart) was a fixed grey while its sibling state swatches (ok/warning/danger) already resolve via tokens. Routed through the muted content token.

The other raw-hex matches were checked and left deliberately: white text on coloured alert/step backgrounds (intentional inverse), chart gridline internals (the separate getComputedStyle convention), and the example-extensions demo package.

Build verified. These two states are transient/data-dependent (a brief loading flash; an unknown-usage segment) so they were not reproduced live; the changes are minimal and consistent with each file’s existing dark mechanism.

Closes #5494

Two raw colors missed by the theme-token sweep did not adapt to the
dark theme: the recent-apps loading placeholder bars stayed light on
the dark card, and the usage chart's 'unknown' swatch was a fixed grey
while its sibling state swatches already resolved via tokens. Give the
placeholder a dark-theme fill alongside its existing dark border, and
route the unknown swatch through the muted content token.

Toward cloudfoundry#5494

@norman-abramovitz norman-abramovitz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@norman-abramovitz
norman-abramovitz merged commit 7eeff4e into cloudfoundry:develop Jun 25, 2026
12 checks passed
@nabramovitz
nabramovitz deleted the feat/5494-finish-bare-token-sweep branch June 29, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Normalize remaining hard-coded / light-only colors to semantic theme tokens (light/dark)

2 participants