SwitchButtonView text should not change color when it is on #12519
Labels
domain:ui/ux
This issue reports a problem related to UI or UX.
intro
Good first ticket.
package:list
package:ui
squad:features
Issue to be handled by the Features team.
type:bug
This issue reports a buggy (incorrect) behavior.
type:regression
This issue reports a bug that was not present in the previous releases.
Milestone
📝 Provide detailed reproduction steps (if any)
In https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/examples/builds-custom/full-featured-editor.html.
✔️ Expected result
The text stays black. The moving colorful switch is enough to carry the the state change.
❌ Actual result
❓ Possible solution
I suppose we broke it while working on the a11y of the interface (icons getting a blueish color when the button is on). It's funny though, this bug is not visible in link decorator feature and find and replace settings where
SwitchButtonView
is also used. This is probably due to the fact that these features bring their own styles that (for whatever the reason) override the text color of switch buttons.Long story short:
switchbutton.css
level in theme-lark.If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: