swisspost / design-system

The Swiss Post Design System pattern library for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
120 stars 14 forks source link

Refactoring of form-check styles #3628

Open schaertim opened 1 week ago

schaertim commented 1 week ago

During the tokenisation of the form-check components I was unsure whether the styles for the switch, radio-button and checkbox should be separated (also different files?) to make them easier to understand.

### Tasks
- [ ] https://github.com/swisspost/design-system/issues/3275
- [ ] https://github.com/swisspost/design-system/issues/3537
- [ ] https://github.com/swisspost/design-system/issues/3273
gfellerph commented 1 week ago

@schaertim I would put them into separate files, this will also allow to conditionally import just one of the three.

gfellerph commented 3 days ago

Resolution: split it up