You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we make component tokens like --dsc-button-background, but use it both for background: var(--dsc-button-background) and color: var(--dsc-button-background). This is problematic as color does not support alt the values background does, and thus gives our uses false promises of supported values in --dsc-button-background.
This applies to padding, gap etc, so we should just do a checkup on all components, and ensure some shared conventions in the outliers where CSS property based names does not make sense.
The text was updated successfully, but these errors were encountered:
Sometimes we make component tokens like
--dsc-button-background
, but use it both forbackground: var(--dsc-button-background)
andcolor: var(--dsc-button-background)
. This is problematic ascolor
does not support alt the valuesbackground
does, and thus gives our uses false promises of supported values in--dsc-button-background
.This applies to
padding
,gap
etc, so we should just do a checkup on all components, and ensure some shared conventions in the outliers where CSS property based names does not make sense.The text was updated successfully, but these errors were encountered: