Open janhassel opened 7 months ago
It looks like the $tag-background-disabled variable is using the correct color tokens per theme, which is $layer, however it is not changing to the proper layer token in the set when placed on a layer container. Need to investigate further how to make it contextual.
Detailed description
Tag
When the Tag component is set to use the disabled state, the coded component uses
$layer
as the background token whereas Figma usestag-background-disabled
. This leads to the problem where a disabled tag on a layer in Figma will appear as if it wouldn't have a background at all.Additional information
Left side is the current Figma component, right side is the expected design (according to the current code implementation).