Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Reference variables inside colors#115

?

To build a real design system, one should be able to reference variables inside colors. This is pretty basic stuff.

Advantage:
Distinguishing between Primitives and Tokens

Example:
Primitive: grey-1, grey-2….grey-9
Token: bg-surface: var(–grey-2)

So each color has to be declared only once and then referenced throughout the system.

a year ago
2
?

I agree, you should be able to setup varibles so they cascade by default, allowing you to change the default at any point in the chain.

a year ago
1

This is a must have, hopefully we get this soon :)

a year ago
Changed the status to
Planned
a year ago

HSL variables should also be defined for each color

a year ago
Changed the status to
In Progress
a year ago
1
Merged Reference a color in the "color section in coreframework"#122
a year ago

Definitely needed

a year ago
1

Yes this feature we need. :)

I have also showed it here, where u refence a color inside a color is the standard from Figma also

a year ago
Changed the status to
Completed
a year ago
B

I see this feature request as completed, but I don’t see option in the dropdown where I can choose variable. When I enter variable it is automatically transformed into color value (not variable). How to use it?

8 months ago

@Billing Please choose the “RAW” option from the color model dropdown.

8 months ago
B

Works perfeclty.

8 months ago