Skip to content

hotfix: correct dark theme color for variant selector#19406

Merged
AndyButland merged 1 commit intorelease/16.0from
v16/hotfix/correct-dark-theme-color-for-variant-selector
May 26, 2025
Merged

hotfix: correct dark theme color for variant selector#19406
AndyButland merged 1 commit intorelease/16.0from
v16/hotfix/correct-dark-theme-color-for-variant-selector

Conversation

@nielslyngsoe
Copy link
Copy Markdown
Member

@nielslyngsoe nielslyngsoe commented May 23, 2025

fix the variant selector so hover uses themes colors (previously it was white in white, so not readable)

image

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This hotfix updates the variant selector’s hover state to use the correct theme color tokens.

  • Replaces --uui-palette-* variables with --uui-color-* tokens for surface and interactive emphasis.
  • Ensures hover styling aligns with both light and dark theme designs.
Comments suppressed due to low confidence (1)

src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.ts:598

  • Consider adding a matching :focus-visible style alongside :hover to ensure keyboard users receive equivalent visual feedback.
.switch-button:hover {

Copy link
Copy Markdown
Contributor

@AndyButland AndyButland left a comment

Choose a reason for hiding this comment

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

Have tested and works as expected.

image

@AndyButland AndyButland merged commit 366c1f9 into release/16.0 May 26, 2025
23 of 24 checks passed
@AndyButland AndyButland deleted the v16/hotfix/correct-dark-theme-color-for-variant-selector branch May 26, 2025 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants