Skip to content

[Bug] Button hover mode of invert, the text now incorrectly shows the contrasted colour. #2

Description

@deathlynocturnal

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

  1. See it here: https://kyrndev.github.io/Luaris/components/button/#hover-modes

Scope

  • Package(s) affected: @luaris/ui
  • Component(s) affected: LxButton

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions