WordPress / twentytwentythree

Twenty Twenty-Three, the default WordPress theme sporting many styles that will launch with WordPress 6.1.
123 stars 65 forks source link

Try fixing combined hover and visited button states #296

Closed mikachan closed 2 years ago

mikachan commented 2 years ago

When both the visited and hover states are active on a button, the visited text colour overrides the hover text colour, which means the two colours are not contrasting in some cases.

This attempts to fix this by adding an !important tag to the hover state text colour. I don't think this is ideal, but re-ordering the properties didn't seem to make a difference here.

Addresses this comment: https://github.com/WordPress/twentytwentythree/issues/288#issuecomment-1293504927

mikachan commented 2 years ago

Closing as the theme has been merged into the WordPress Core SVN repository and is no longer maintained on GitHub.