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: add versioning to the Designer plugin #97

Open
bheston opened this issue Jun 13, 2023 · 0 comments
Open

feat: add versioning to the Designer plugin #97

bheston opened this issue Jun 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bheston
Copy link
Member

bheston commented Jun 13, 2023

Feature Request

The plugin allows for applying design definitions, in the form of design tokens and style modules, to layers in Figma. This is based on a string key of a hierarchical arbitrary structure, like "color -> neutral -> fill discernible" which would look like "color-neutral-fill-discernible".

Expected Behavior

To be able to map a renamed token to its previous name. This should work based on the previous version only, so if the name changed twice that would require a total of three versions of definitions to work properly (original, rename 1, rename 2). When updating a document that uses the "original" version to latest, the full path would need to be evaluated.

Current Behavior

There is no support for versioning or renaming, so when attempting to work with an old design with the latest definition loaded in the plugin, renamed tokens or style modules would not be found and therefore would not be evaluated.

@bheston bheston self-assigned this Jun 13, 2023
@bheston bheston added the enhancement New feature or request label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant