Skip to content

Documentation / @finchart/core / index / TextStyle

Interface: TextStyle ​

Defined in: packages/core/src/render/types.ts:20

A settled style for text. font is the entire CSS shorthand property — accepting size alone as a number would leave no way to express family, forcing the renderer to decide a default. Taking a finished string leaves no hole for the renderer to fill.

Properties ​

color ​

color: string

Defined in: packages/core/src/render/types.ts:23


font ​

font: string

Defined in: packages/core/src/render/types.ts:22

"600 12px Inter, sans-serif"