1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 14:13:14 +03:00
css/.changeset
Cameron Dutro 5cfae2c219
Toggle switch styles (#2074)
* Add styles for the ToggleSwitch component

* Add changeset

* Disable stylelint temporarily; commit stylelint fixes

* Refactor CSS; add stories

* Clean up; rename ToggleSwitch-switch to ToggleSwitch-track

* Address a bunch of PR feedback:
* Rename ToggleSwitch-bg -> ToggleSwitch-icons
* Rename ToggleSwitch-label -> ToggleSwitch-status
* Collapse border-* styles into a single border-style property
* Replace CSS with touch target @include
* Remove unnecessary :after pseudo-element

* Remove sr-only span, as it's redundant

* Collapse border-* properties again (stylelint didn't like argument order last time)

Co-authored-by: Mike Perrotti <mperrotti@github.com>
2022-05-23 14:06:42 -07:00
..
config.json Matching primer/components 2021-03-25 13:12:06 -07:00
nine-dragons-wave.md Fix layout sticky pane modifier name (#2087) 2022-05-20 18:06:05 +00:00
README.md Creating changesets workflow 2021-03-21 21:50:54 -07:00
smooth-lies-stare.md Toggle switch styles (#2074) 2022-05-23 14:06:42 -07:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation