Skip to content

textDecoration

A line drawn through or under the text.

Path

…elements.<element>.styles.typography.textDecoration

Value

  • "NONE" (default) — No line is drawn.
  • "UNDERLINE" — A line is drawn under the text.
  • "STRIKETHROUGH" — A line is drawn through the text.
  • MixedValue

Decisions

  • ADR-005 — Replace Typography Flat Properties with typography — Add Typography Type
  • ADR-116 — Nested style members declare their own defaults

Source

FormatFile
JSON Schemapackages/schema/schema/styles.schema.json
TypeScriptpackages/schema/types/Styles.ts
Specification§4.1a, §11