Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Theme: Some color token values that should differ do not #77153

@jameskoster

Description

@jameskoster

A certain category of color tokens share values when they should be different. For example --wpds-color-fg-interactive-brand and --wpds-color-fg-interactive-brand-active map to the exact same value:

--wpds-color-fg-interactive-brand: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis. */
--wpds-color-fg-interactive-brand-active: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */

So while --wpds-color-fg-interactive-brand-active is used for the hover color applied to Link, there's no visible change when hovering. Storybook.

This issue seems to affect all --wpds-color-fg-interactive-* tokens, and their -active counterparts.

My expectation is that the -active token would map to a slightly darker (or lighter) value, as the bg tokens do:

--wpds-color-bg-interactive-brand-strong: #3858e9; /* Background color for interactive elements with brand tone and strong emphasis. */
--wpds-color-bg-interactive-brand-strong-active: #2e49d9; /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */

Metadata

Metadata

Assignees

Labels

[Package] Theme/packages/theme[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions