42tte/feat toggle switch
- Renamed component to ToggleSwitch
- Updated styles with new design
- Changed markup (from input to button with role switch) based on these articles:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/switch_role
https://www.smashingmagazine.com/2017/09/building-inclusive-toggle-buttons/ (role switch is now 6y later better supported)
https://joshcollinsworth.com/blog/accessible-toggle-buttons
QA:
Is the new API satisfying for FS Studentportal?
Why change prefix on component CSS variables? Easier to read & write and give a clear indiction on what is global and what is local variables.
Edited by Kristoffer Nordström