Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New] - Variables and Styles Skipped on Export | Figma Workflow #238

Open
SamIam4Hyma opened this issue Apr 19, 2024 · 0 comments
Open

[New] - Variables and Styles Skipped on Export | Figma Workflow #238

SamIam4Hyma opened this issue Apr 19, 2024 · 0 comments
Assignees

Comments

@SamIam4Hyma
Copy link
Contributor

SamIam4Hyma commented Apr 19, 2024

Some notes from Jan on this one from Slack:

this should be a start: https://github.com/tokens-studio/figma-plugin/blob/9ce1434a3381330f0c523eaa78ac863[…]ens-studio-for-figma/src/utils/checkIfTokenCanCreateVariable.ts

for styles there’s no real ignore going on. we basically just filter for the high level token types. color = paint style. typography = type style. box shadow = effect style (no other effect styles so far)
https://github.com/tokens-studio/figma-plugin/blob/3e161ac55c7a1971a52662b11d576e7[…]5d7/packages/tokens-studio-for-figma/src/plugin/updateStyles.ts

meaning we dont filter our radial-gradient etc - we just fail to set the value

@SamIam4Hyma SamIam4Hyma changed the title [New] - Variables Skipped on Export | Figma Workflow [New] - Variables and Styles Skipped on Export | Figma Workflow Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants