Skip to content

Theemo / @theemo/figma / Style

Interface: Style

Defined in: node_modules/.pnpm/[email protected]/node_modules/figma-api/lib/ast-types.d.ts:621

A set of properties that can be applied to nodes and published. Styles for a property can be created in the corresponding property's panel while editing a file

Properties

description

ts
description: string;

Defined in: node_modules/.pnpm/[email protected]/node_modules/figma-api/lib/ast-types.d.ts:627

The description of the style


key

ts
key: string;

Defined in: node_modules/.pnpm/[email protected]/node_modules/figma-api/lib/ast-types.d.ts:623

The key of the style


name

ts
name: string;

Defined in: node_modules/.pnpm/[email protected]/node_modules/figma-api/lib/ast-types.d.ts:625

The name of the style


remote

ts
remote: boolean;

Defined in: node_modules/.pnpm/[email protected]/node_modules/figma-api/lib/ast-types.d.ts:629

Whether this style is a remote style that doesn't live in this file *


styleType

ts
styleType: StyleType;

Defined in: node_modules/.pnpm/[email protected]/node_modules/figma-api/lib/ast-types.d.ts:631

The type of style