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

feat(core): use the new figma variables #27

Open
gabrieleAngius opened this issue Jun 30, 2023 · 0 comments
Open

feat(core): use the new figma variables #27

gabrieleAngius opened this issue Jun 30, 2023 · 0 comments
Assignees

Comments

@gabrieleAngius
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
As per #25 we're dropping all slices non-supported by variables. So we want also to convert the remaining (radii, colors) to use the variables

Describe the solution you'd like
When the plugin is initialised it should:

  • check if there's a collection named "Morfeo tokens"
  • if so, should check if there are variables (only scoped to radii) and use them to set radii (or create some defaults otherwise)
  • if not, should create such collection and create the defaults

Same thing for colors

@gabrieleAngius gabrieleAngius self-assigned this Jun 30, 2023
gabrieleAngius added a commit that referenced this issue Jun 30, 2023
introduced logic to init the morfeo variable collection and save on the state the radii variables
found. Add also some defaults if there are no valid radii variables found

wip #27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant