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

[Request] Add overrides for component properties #298

Open
jordisala1991 opened this issue Jun 21, 2024 · 1 comment
Open

[Request] Add overrides for component properties #298

jordisala1991 opened this issue Jun 21, 2024 · 1 comment

Comments

@jordisala1991
Copy link

Currently if an instance of a component has a property defined with a value that is overriden from the default value of the component there is no way to know that. The overrides property do not include overrides from properties default values.

Current situation:

For an instance node you can get some of the overrides, like name, fills etc... but there could be other overrides coming from changing boolean properties or text properties that will not be on the overrides. You can get the current value for each individual node and compare with the default value of the component or component set, but you will never know if the value is overriden (you can have the same value and figma knows internally if it was overriden or not, it is just not exposed)

Desired situation:

Add on the overrides property the reference to what properties are overriden or create a new overridesProperties or something like that with that information.

@elainefigma
Copy link
Collaborator

Thanks for the feedback! We're tracking this internally.

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

2 participants