-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Hi - in my theme the button placeholder text is unreadable. This will happen on any theme that doesn't have dark coloured buttons. The reason is this very specific rule:
You can see a screenshot of the problem here:

If you change the colour from white to use the currentColor keyword then the element will inherit the buttons colour and so always be readable. The 0.8 opacity will help show it's a placeholder and not normal colour.
I have used this fix on the editor styles for the two themes screenshotted above and it seems to work fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
