fix(fig): skip unresolved paint variables
- Drop preserved colorVar and opacityVar payload fields together with variable maps - Keep concrete paint colors as fallbacks so Figma does not render unresolved variables as missing content
This commit is contained in:
parent
6586b497bb
commit
ef802b4681
|
|
@ -101,7 +101,9 @@ function parseGuidOrNull(value: string) {
|
|||
|
||||
const FIGMA_PAYLOAD_FIELDS_UNSAFE_FOR_EXPORT = new Set([
|
||||
'variableConsumptionMap',
|
||||
'parameterConsumptionMap'
|
||||
'parameterConsumptionMap',
|
||||
'colorVar',
|
||||
'opacityVar'
|
||||
])
|
||||
|
||||
function materializeFigmaPayload(value: unknown, blobs: Uint8Array[]): unknown {
|
||||
|
|
|
|||
Loading…
Reference in a new issue