Describe the bug
When applying tokens to a Parent Component, the plugin applies hard overrides to its Nested Instances because Figma prioritizes Instance Overrides over Variant properties, this "locks" the nested instances. Consequently, trying to switch the variant of a nested instance (e.g., changing size from S to L) fails to update the visual appearance because the plugin's override takes precedence.
Expected behavior
The plugin should apply tokens to the selected parent without creating hard overrides on nested instances that block Figma's variant switching logic. Users should be able to apply tokens to a container and still freely switch the variants of nested components without the properties being locked by previous token applications.
Figma file (optional)
Test File
Additional Context
Applying tokens to a Tile component locks the width of a nested Padding instance. Switching the Padding variant in Figma from S to L updates the property name, but the actual width remains stuck at S due to the plugin's override.
Describe the bug
When applying tokens to a
ParentComponent, the plugin applies hard overrides to itsNestedInstances because Figma prioritizes Instance Overrides over Variant properties, this "locks" the nested instances. Consequently, trying to switch the variant of a nested instance (e.g., changing size from S to L) fails to update the visual appearance because the plugin's override takes precedence.Expected behavior
The plugin should apply tokens to the selected parent without creating hard overrides on nested instances that block Figma's variant switching logic. Users should be able to apply tokens to a container and still freely switch the variants of nested components without the properties being locked by previous token applications.
Figma file (optional)
Test File
Additional Context
Applying tokens to a
Tilecomponent locks the width of a nested Padding instance. Switching the Paddingvariant in Figma fromStoLupdates the property name, but the actual width remains stuck at Sdue to the plugin's override.