From 6b089f0804055b2f68d92ede041fad7e4eacfae4 Mon Sep 17 00:00:00 2001 From: Brad Mering Date: Tue, 21 Mar 2023 10:41:48 -0600 Subject: [PATCH] Fixes undefined bug in button token opacity --- figma-exporter/src/transformers/scss/components/button.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/figma-exporter/src/transformers/scss/components/button.ts b/figma-exporter/src/transformers/scss/components/button.ts index 98ce8df0..e12f2b52 100644 --- a/figma-exporter/src/transformers/scss/components/button.ts +++ b/figma-exporter/src/transformers/scss/components/button.ts @@ -118,6 +118,7 @@ export const transformButtonComponentTokensToScssVariables = (tokens: ButtonComp [getScssVariableName({ component: 'button', part: '', property: 'opacity', theme, type, state })]: { value: `${tokens.opacity}`, property: 'opacity', + group: Part.Button, }, }; };