Skip to content

feat: add versioning to the Designer plugin #97

@bheston

Description

@bheston

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions