Summary
The invert hover mode for buttons now uses the new contrast colour functionality, unfortunately, this causes a bug because on invert the text should be the same colour as the variant, but instead, i.e. in dark mode, it shows black.
Expected behaviour
Should show the correct behaviour which is the variant colour.
Actual behaviour
Shows the calculated contrast colour.
Steps to reproduce
- See it here: https://kyrndev.github.io/Luaris/components/button/#hover-modes
Scope
- Package(s) affected: @luaris/ui
- Component(s) affected: LxButton
Summary
The invert hover mode for buttons now uses the new contrast colour functionality, unfortunately, this causes a bug because on invert the text should be the same colour as the variant, but instead, i.e. in dark mode, it shows black.
Expected behaviour
Should show the correct behaviour which is the variant colour.
Actual behaviour
Shows the calculated contrast colour.
Steps to reproduce
Scope