Open mirisuzanne opened 7 years ago
I'd say for our internal use, this is not important anymore as many of the colors we will be using are variables which display as:
var(--colorname)
Well, the same feature would allow us to say:
var(--%s)
=> output var(--brand-pink)
Which might help clear up some of the confusion we ran into with our demos.
Stacy was asking to get e.g.
color(name)
as part of the color-palette output, for easy copy/paste into a project. Since that's a custom syntax we use, I'd want it to be set per-project, using a string interpolation formula. Something like this:color(%s)
=> outputcolor(brand-pink)
$%s
=> output$brand-pink
This way it can be set flexibly.