saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.25k stars 1.31k forks source link

bug: toggle should have a hover state #2741

Closed amir20 closed 10 months ago

amir20 commented 10 months ago

What version of daisyUI are you using?

daisyui 4.5.0

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

n/a

Describe your issue

By default, DaisyUI's button has hover https://github.com/saadeghi/daisyui/blob/c13b26bea8db8fa0d45eb60055f4fdee865f911e/src/components/styled/button.css#L23-L43

However, I noticed the same doesn't exist for toggle.

Is this done intentionally?

github-actions[bot] commented 10 months ago

Thank you @amir20 for reporting issues. It helps daisyUI a lot ๐Ÿ’š
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

amir20 commented 10 months ago

PS. thanks for the amazing library

amir20 commented 10 months ago

Happy to send a PR if it should have hover state.

saadeghi commented 10 months ago

I don't think it's necessary, but of course you can customize the style for your own project using utility classes.