Skip to content

Text Style Value

typography value

type: text-style-value

A decision to define a text style.

Models

The following models can be used to produce a Text Style Value decision.

Explicit value

Defines a text style value explicitly.
Sample decision
Text Style Explicit Sample
The quick brown fox jumps over the lazy dog
Thin / 32px / spacing: -0.05rem

Model:

text-style-value/explicit

Params:

  • value

    • fontSize

      32px

    • fontWeight

      Thin

    • letterSpacing

      -0.05rem

Sample data
{
"uuid": "b465f56baa7d3ab59230659743e99f5b",
"name": "Text Style Explicit Sample",
"model": "text-style-value/explicit",
"params": {
"value": {
"fontSize": "32px",
"fontWeight": "Thin",
"letterSpacing": "-0.05rem"
}
}
}
🐘 Help wanted: Documenting schemas