SceneTokenDecl.style constructor

const SceneTokenDecl.style(
  1. String name,
  2. SceneTextStyle value
)

A text style: a bundle of table values the editor renders and a text node takes whole, with each property still its own to override.

Implementation

const SceneTokenDecl.style(this.name, SceneTextStyle this.value)
  : kind = null,
    type = 'SceneTextStyle',
    owner = SceneTokenOwner.library,
    _styleType = true;