We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3fa2d1 commit 510208bCopy full SHA for 510208b
packages/figma-widget/src/widget/modules/design-tokens/extractors/effect-style.ts
@@ -30,6 +30,7 @@ const extractVariableAlias = async (
30
31
async function extractEffect(effect: Effect): Promise<ShadowValue | null> {
32
switch (effect.type) {
33
+ case 'INNER_SHADOW':
34
case 'DROP_SHADOW': {
35
const boundVariables = await extractVariableAlias(effect.boundVariables);
36
return {
@@ -58,10 +59,10 @@ async function extractEffect(effect: Effect): Promise<ShadowValue | null> {
58
59
},
60
}
61
: {}),
62
+ inset: effect.type === 'INNER_SHADOW',
63
} satisfies ShadowValue;
64
65
case 'BACKGROUND_BLUR':
- case 'INNER_SHADOW':
66
case 'LAYER_BLUR':
67
default:
68
return null;
0 commit comments