Wocart

@wocart/theme v4.1.0


@wocart/theme / index / THEME_LIMITS

Variable: THEME_LIMITS

const THEME_LIMITS: object

The platform's caps: a page renders within a Worker's CPU time, and an editor's tree stays readable.

Type Declaration

depth

readonly depth: 6

Levels of nesting below a top-level section.

documentInstances

readonly documentInstances: 1000

Instances in one document, at every depth.

sections

readonly sections: 50

Top-level sections of one surface or area.

slotInstances

readonly slotInstances: 50

Instances in one slot.