Comments (8)
I had to do {dark.accent.default}
and {light.accent.default}
which solved my issue
This issue can now be closed.
Thank you.
from design-token-transformer.
Hey, this is an issue you are having with style dictionary, not really the plugin.
I think the issue is that you need to use {global.white}
from design-token-transformer.
Got it..
I opened another issue there... I don't mind if you can help too
amzn/style-dictionary#830
from design-token-transformer.
Hey @allindeveloper did you try to use {global.white}
?
from design-token-transformer.
Hmm, interesting I faced this issue as well, was trying to just use whatever was exported by a teammate from Figma. It looks like the refs are not exported in the right way. Not sure if those refs are set in Figma, maybe just misconfigured.
from design-token-transformer.
Hey @allindeveloper did you try to use
{global.white}
?
global.white
would work but it wont work in using figma token plugin.. i believe, the designer uses the plugin
from design-token-transformer.
so from here amzn/style-dictionary#830
global.accent.default
would work but won't work in the plugin, so the, accent.default
has to be within the same token file not in a different global file...
And I think it's best to follow what's coming from figma and the plugin...
from design-token-transformer.
So @allindeveloper did this solve your problem?
from design-token-transformer.
Related Issues (16)
- Need correction in documentation HOT 2
- missing android platform HOT 3
- Flutter support HOT 7
- Transform-tokens workflow always creates the file design-tokens-example.tokens.json HOT 2
- Question - How to produce fontFamilies? HOT 3
- npm run transform-tokens cant find "global" form figma plugin export HOT 1
- Unit transforms don't seem to apply HOT 1
- rgba values becomes #0000000 HOT 1
- build directory less and scss builds contain multiple [object object] lines HOT 4
- 422 Error sending tokens to url HOT 3
- Unable to receive the commit message in GitHub's pull request. HOT 5
- Style Dictionary 4 HOT 1
- No android output for this file
- Some units are called "pixel" while others are called "pixels" HOT 3
- Support nested variable transformation ([object Object]) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from design-token-transformer.