Can I make a PR to support generation from variables?
aduuub opened this issue · comments
Our design team uses variables (which has been described as the new way of doing things- see screenshot). It's structured with a variable name for the colour with a "light" and "dark" scheme.
It would be great to be able to use this tool with them instead of Figma styles.
Would you be open to me raising a PR for this?
![Screenshot 2023-12-20 at 1 40 12 pm](https://private-user-images.githubusercontent.com/11432186/291772894-fba4bb6e-95b8-4c3f-a4e0-017108a8d72a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NjE4OTEsIm5iZiI6MTcyMDQ2MTU5MSwicGF0aCI6Ii8xMTQzMjE4Ni8yOTE3NzI4OTQtZmJhNGJiNmUtOTViOC00YzNmLWE0ZTAtMDE3MTA4YThkNzJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA4VDE3NTk1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmNzVkNTU5MjkwY2Q3NWM1YTZjNmQ4YmQ3ZmI4NzE1OWI2OTQ0MWJmZjdhNWY4ZWVkNThlYThlNGEyYzQ0MGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7fdRhxAdrhSw7UTbI35noCiHN-uUFOiD6Pi4CZQSHq8)
PR raised here: #228
Would like to get this working with the API instead of downloading the token but it's still in Beta and for Enterprise customers only so this at least allows a short term solution until the API is more stable and readily available.
Will make a further PR to improve on that. Could also expand to support more than colours too