Skip to content

Consider adding more options to textDecoration property #42319

@mikachan

Description

@mikachan

What problem does this address?

The textDecoration control is currently limited to the type of decoration (underline or strikethrough), with no further customization options.

What is your proposed solution?

It would be nice to have further control over this property, for example by adding support for some/all of these values:

  • text-decoration-color (color of the line)
  • text-decoration-style (the style of the line, such as solid, wavy, or dashed)
  • text-decoration-thickness (thickness of the line)
  • text-underline-offset

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions