Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding more options to textDecoration property #42319

Open
mikachan opened this issue Jul 11, 2022 · 4 comments
Open

Consider adding more options to textDecoration property #42319

mikachan opened this issue Jul 11, 2022 · 4 comments
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Enhancement A suggestion for improvement.

Comments

@mikachan
Copy link
Member

mikachan commented Jul 11, 2022

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
@mikachan mikachan added the Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json label Jul 11, 2022
@mikachan mikachan moved this to Issues Created in Ignite Build a Theme Jul 11, 2022
@kathrynwp kathrynwp added the [Type] Enhancement A suggestion for improvement. label Jul 11, 2022
@iamtakashi
Copy link

+1 Yes, please!

@bgardner
Copy link

This seems like low-hanging fruit, how can we get this added?

@bugnumber9
Copy link

+1 to this

@beafialho
Copy link

+1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

6 participants