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

Add link underline color setting in editor for text blocks #96

Open
3 tasks
jessica-townsend opened this issue Aug 15, 2023 · 1 comment
Open
3 tasks
Assignees

Comments

@jessica-townsend
Copy link
Contributor

jessica-townsend commented Aug 15, 2023

Background

We need a way to set link underline colors from the editor. Currently, the underline color comes from the link's text color and has an opacity value added through JS in the parent theme: https://github.com/thoughtis/cata/blob/master/assets/src/js/modules/text-decoration.js

Acceptance Criteria

  • Editors can adjust the link underline color separately from the link color
  • The color selection for the link underlines comes from the theme.json color palette
  • Fading the underline color will need to be done in the Cata theme

Resources

@jessica-townsend jessica-townsend self-assigned this Aug 15, 2023
@douglas-johnson
Copy link
Member

I thought this was relevant here: https://developer.wordpress.org/news/2023/11/how-to-add-custom-color-options-to-blocks/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants