Skip to content

Wrong color-variables used in Checkbox and RadioChip in Figma #4559

@Febakke

Description

@Febakke

Version number

No response

Description of the bug

In production the "checkmark" and "dot" in checkbox and radiobuttons dont follow the Default -> hover - > active base color. They are base-default in all states. This is because they use the --dsc-chip-input-stroke-color variable. This have no hover/active state as with the background color used on the whole chip. This might be a technical choice.

We decided the quickest fix was to fix this in Figma. But im not sure this is the most "correct" way to go about this. Since its a very small issue, I dont see the harm.

How to fix

  1. In our file it was only present on the radio variant of the component. You should check the checkmark version as well.
  2. Select all indicator elements inside the radio
  3. Sett fill color to main/base-default
  4. Do the same with the Neutral variant. Only now use neutral-base-default

This is how it should look:
Image

Metadata

Metadata

Assignees

Labels

🎨 figmaEverything related to changes in Figma🐛 bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions