Generate multiple tokens per property
See original GitHub issueIs it possible to generate multiple tokens for a single property?
The specific case I’m looking for is, given a Hex color property, generate both Hex and RGB color tokens.
{
"color": {
"white": { "value": "#FFFFFF" },
"black": { "value": "#000000" }
}
}
Would produce something like this:
$color-white: #FFFFFF;
$color-black: #000000;
$color-white-rgb: 255,255,255;
$color-black-rgb: 0,0,0;
I know I can transform a value into another format and I used that in the past, but what I’m looking for is multiple formats for a single input value (in my case just colors).
On a side note, is there an official Discord or Slack channel for Style Dictionary discussions/help?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Create multiple tokens for a unique property
here is the idea: we assign a set of unique tokens to a company and then we allow people to buy some tokens...
Read more >Allow multiple application tokens for multipl build variants in ...
I'm working on a project that has a debug and release build variant that are wired up to separate New Relic buckets (development...
Read more >Spring Oauth2 - multiple tokens per client id - Stack Overflow
I have noticed that the server generates the same token per user/client id combination even when calling from separate devices. This causes an...
Read more >Token Best Practices - Auth0
Token -based authentication is implemented by generating a token when the user authenticates and then setting that token in the Authorization header of...
Read more >API Protection token management properties - IBM
For configuration task instructions, see Creating an API protection definition. ... redirects fail because the access token is validated multiple times.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dbanksdesign yes, please. Sorry for not getting back earlier. Feel free to close this issue.
No worries at all! Closing for now. Feel free to re-open or open a new issue if you have any more questions!