mdgriffith / elm-ui

What if you never had to write CSS again?
https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/
BSD 3-Clause "New" or "Revised" License
1.35k stars 111 forks source link

Enable custom styling for elements which are both focused and hovered #350

Open Torvaney opened 1 year ago

Torvaney commented 1 year ago

Currently, when both Element.focused and Element.mouseOver are active on an element, it will resolve to just using the focused styles. This is not always desirable, and it would be great to be have more control over how the combination of these states is resolved.

For example, the highly regarded UK government design system has buttons which appear differently when

feature-suggestion