#Background color of buttons on hover

3 messages · Page 1 of 1 (latest)

naive bone
#

I just updated mantine version to the latest and I noticed that the css style rules I've written (in a separate css modules file) for the buttons don't work anymore. Specifically, I've written a custom style rule for the buttons so that they have a background color of #6147FF and the opacity drops to 0.9 on hover. However, after the update, I noticed that the background color property no longer works on hover and the button reverts back to the default blue color when I mouse over it. Does anyone know why this is happening? See the screenshots for how I customized the button.

silk stratus
#

Worked with me when i added "! important"

naive bone
#

Ok I believed that worked for me as well! Thank you!