digdir / designsystemet

Designsystemet
https://designsystemet.no
MIT License
85 stars 38 forks source link

Update button styles for hover and active States #2804

Closed mrosvik closed 1 week ago

mrosvik commented 1 week ago

Currently, button styles use surface/default for the hover state and surface/hover for the active state. This creates a semantic inconsistency since there is already a surface/active token that better aligns with expected behavior.

We have testet that it works well to use surface/hover for hover and surface/active for the active state, and should change this both in Figma and code.

### Tasks
- [x] Use correct tokens in Figma
- [ ] Use correct tokens in code
mrosvik commented 1 week ago

This is done in Figma for Button and IconButton

Image

Image