-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(switch): add component tokens #8786
feat(switch): add component tokens #8786
Conversation
7fe6824
to
1d5638d
Compare
There are some "invisible" height changes in Chromatic, lets make sure this won't affect layout somehow: https://www.chromatic.com/test?appId=6266d45509d7eb004aa254fb&id=65d535a602d615a0c2d7deba |
Forgot to bring this up sooner, but name-wise, do we prefer |
We use calcite-design-system/packages/calcite-components/src/components/list-item/list-item.tsx Lines 249 to 251 in 802ccf2
|
I prefer handle since thumb might be confused with thumbnail. |
Related Issue: #7180
Summary
Adds the following component tokens (CSS props):
--calcite-switch-handle-background-color
--calcite-switch-handle-border-color
--calcite-switch-track-background-color
--calcite-switch-track-border-color
--calcite-switch-corner-radius
--calcite-switch-shadow