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
However this means that you can't preview your colors easily in the editor.
Would it be possible to colorize variables based on their name and contents?
E.g. in the below snippet the extension could see that the variables start with --color and then based on their contents it can decide whether to show rgb (no %) or hsl (has %)
/* For rgb(255 115 179 / <alpha-value>) */--color-primary:255115179;
/* For hsl(198deg 93% 60% / <alpha-value>) */--color-primary:198deg93%60%;
/* For rgba(255, 115, 179, <alpha-value>) */--color-primary:255,115,179;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The recommended way to define colors leaves off the colorspace so that opacity can be added separately.
However this means that you can't preview your colors easily in the editor.
Would it be possible to colorize variables based on their name and contents?
E.g. in the below snippet the extension could see that the variables start with --color and then based on their contents it can decide whether to show rgb (no %) or hsl (has %)
Beta Was this translation helpful? Give feedback.
All reactions