Theemo / @theemo/figma / FigmaVariable
Interface: FigmaVariable
A FigmaVariable
is a Variable
which has their VariableCollection
attached.
See
Remarks
Figma itself treats variables and collections as two objects. As you might need to have access to both when in sync mode, a FigmaVariable
does exactly that.
Extends
Variable
Properties
codeSyntax
readonly codeSyntax: VariableCodeSyntax;
Inherited from
Variable.codeSyntax
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:68
collection
readonly collection: VariableCollection;
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:84
description
readonly description: string;
Inherited from
Variable.description
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:65
hiddenFromPublishing
readonly hiddenFromPublishing: boolean;
Inherited from
Variable.hiddenFromPublishing
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:66
id
readonly id: string;
Inherited from
Variable.id
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:56
key
readonly key: string;
Inherited from
Variable.key
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:58
name
readonly name: string;
Inherited from
Variable.name
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:57
remote
readonly remote: boolean;
Inherited from
Variable.remote
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:64
resolvedType
readonly resolvedType: VariableResolvedDataType;
Inherited from
Variable.resolvedType
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:60
scopes
readonly scopes: VariableScope[];
Inherited from
Variable.scopes
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:67
valuesByMode
readonly valuesByMode: object;
Index Signature
[modeId
: string
]: VariableValue
Inherited from
Variable.valuesByMode
Defined in
packages/@theemo/figma/src/-figma-variable-types.ts:61
variableCollectionId
readonly variableCollectionId: string;
Inherited from
Variable.variableCollectionId