diff --git a/packages/tokens-studio-for-figma/src/plugin/applySizingValuesOnNode.ts b/packages/tokens-studio-for-figma/src/plugin/applySizingValuesOnNode.ts index dcb10d249..711d28b7c 100644 --- a/packages/tokens-studio-for-figma/src/plugin/applySizingValuesOnNode.ts +++ b/packages/tokens-studio-for-figma/src/plugin/applySizingValuesOnNode.ts @@ -3,8 +3,8 @@ import { NodeTokenRefMap } from '@/types/NodeTokenRefMap'; import { isPrimitiveValue } from '@/utils/is'; import { tryApplyVariableId } from '@/utils/tryApplyVariableId'; import { transformValue } from './helpers'; -import { isPartOfInstance } from '@/utils/is/isPartOfInstance'; import { isAutoLayout } from '@/utils/isAutoLayout'; +import { isPartOfInstance } from '@/utils/is/isPartOfInstance'; export async function applySizingValuesOnNode( node: BaseNode, @@ -54,7 +54,6 @@ export async function applySizingValuesOnNode( if ( node.type !== 'DOCUMENT' && node.type !== 'PAGE' - && node.type !== 'INSTANCE' && !isPartOfInstance(node.id) && (isAutoLayout(node) || (node.parent && node.parent.type !== 'DOCUMENT' && node.parent.type !== 'PAGE' && isAutoLayout(node.parent)))