Comments (7)
Should be fixed, reopen if it persists.
from design-tokens.
Hey, this can have many reasons. could you open the console (cmd + shift + i) and copy the error message?
There may be a naming issue with one of the tokens on the other collections. Did you try if both of them lead to an error?
from design-tokens.
I am having the same problem - have checked and removed special characters from variable and mode names
Uncaught TypeError: Cannot read properties of undefined (reading 'value') at <anonymous>:640:22206 at Object.ar (<anonymous>:640:22369) at <anonymous>:640:25707 at Array.map (<anonymous>) at pr (<anonymous>:640:25682) at onSubmit (<anonymous>:650:714) at Object.Te (<anonymous>:2:84110) at $e (<anonymous>:2:84264) at <anonymous>:2:104124 at Dr (<anonymous>:2:104218)
from design-tokens.
Can you provide a screenshot of the variable & modes names?
from design-tokens.
Only 2 Modes: Light
and Dark
There are 116 Variables though, so quite difficult to screenshot.
i've exported to a json via another plugin - see here tokens.json
from design-tokens.
I would guess the percentage %
sign is possibly the issue. Yeah, I think this is the issue.
I will look into if we can allow it, but for the interim you could just remove the %
sign.
from design-tokens.
Confirmed fix. Thankyou!
from design-tokens.
Related Issues (20)
- Bug with Variables export HOT 2
- Variable aliases do not take into account token prefix settings HOT 1
- Double neasted mode name in json output
- Variable modes are not added if the collection name is uppercase in figma.
- Aliases to aliases cause wrong category to be set
- json output: missing modes in referenced tokens HOT 3
- Plugin not working HOT 5
- Send design tokens to URL option does not work : Error 422
- Reference tokens not correct HOT 11
- Gradient angle not correct HOT 1
- Cannnot send design token to github HOT 5
- Tokens as a source for truth rather than figma? HOT 1
- Content-Security-Policy is blocking our company url HOT 1
- prefix exclusions should work with variables too, not just styles HOT 1
- Font weights are not extracted from custom font HOT 1
- Feature Request: Push File To Gitlab
- Mode name are duplicated in referenced values HOT 22
- Last component of variable names are always exported in lowercased
- Question of your point of view about design tokens JSON as source of truth HOT 1
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-tokens.