-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(switch): s2 migration * chore: remove themes * fix: animation * fix: whcm light mode unchecked handle shows * docs(storybook): align chromatic setup with new standard * fix: checked corners for non-retina display * fix: whcm handle selected color * fix: namespace mods, use semantic tokens instead of global * fix: handle state colors
- Loading branch information
Showing
7 changed files
with
490 additions
and
415 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,49 @@ | ||
| Modifiable custom properties | | ||
| --------------------------------------------------- | | ||
| `--mod-animation-duration-100` | | ||
| `--mod-animation-duration-200` | | ||
| `--mod-border-width-200` | | ||
| `--mod-focus-indicator-gap` | | ||
| `--mod-focus-indicator-thickness` | | ||
| `--mod-line-height-100` | | ||
| `--mod-switch-background-color` | | ||
| `--mod-switch-background-color-disabled` | | ||
| `--mod-switch-background-color-selected-default` | | ||
| `--mod-switch-background-color-selected-disabled` | | ||
| `--mod-switch-background-color-selected-down` | | ||
| `--mod-switch-background-color-selected-focus` | | ||
| `--mod-switch-background-color-selected-hover` | | ||
| `--mod-switch-control-height` | | ||
| `--mod-switch-control-label-spacing` | | ||
| `--mod-switch-control-width` | | ||
| `--mod-switch-focus-indicator-color` | | ||
| `--mod-switch-focus-indicator-thickness` | | ||
| `--mod-switch-font-size` | | ||
| `--mod-switch-handle-background-color` | | ||
| `--mod-switch-handle-border-color-default` | | ||
| `--mod-switch-handle-border-color-disabled` | | ||
| `--mod-switch-handle-border-color-down` | | ||
| `--mod-switch-handle-border-color-focus` | | ||
| `--mod-switch-handle-border-color-hover` | | ||
| `--mod-switch-handle-border-color-selected-default` | | ||
| `--mod-switch-handle-border-color-selected-down` | | ||
| `--mod-switch-handle-border-color-selected-focus` | | ||
| `--mod-switch-handle-border-color-selected-hover` | | ||
| `--mod-switch-height` | | ||
| `--mod-switch-label-color-default` | | ||
| `--mod-switch-label-color-disabled` | | ||
| `--mod-switch-label-color-down` | | ||
| `--mod-switch-label-color-focus` | | ||
| `--mod-switch-label-color-hover` | | ||
| `--mod-switch-spacing-top-to-control` | | ||
| `--mod-switch-spacing-top-to-label` | | ||
| Modifiable custom properties | | ||
| -------------------------------------------------------- | | ||
| `--mod-switch-animation-duration-100` | | ||
| `--mod-switch-animation-duration-200` | | ||
| `--mod-switch-background-color` | | ||
| `--mod-switch-background-color-disabled` | | ||
| `--mod-switch-background-color-selected-default` | | ||
| `--mod-switch-background-color-selected-disabled` | | ||
| `--mod-switch-background-color-selected-down` | | ||
| `--mod-switch-background-color-selected-focus` | | ||
| `--mod-switch-background-color-selected-hover` | | ||
| `--mod-switch-border-color-default` | | ||
| `--mod-switch-border-color-disabled` | | ||
| `--mod-switch-border-color-down` | | ||
| `--mod-switch-border-color-focus` | | ||
| `--mod-switch-border-color-hover` | | ||
| `--mod-switch-border-color-selected-default` | | ||
| `--mod-switch-border-color-selected-down` | | ||
| `--mod-switch-border-color-selected-focus` | | ||
| `--mod-switch-border-color-selected-hover` | | ||
| `--mod-switch-border-radius` | | ||
| `--mod-switch-border-width` | | ||
| `--mod-switch-cjk-line-height` | | ||
| `--mod-switch-control-height` | | ||
| `--mod-switch-control-label-spacing` | | ||
| `--mod-switch-control-width` | | ||
| `--mod-switch-focus-indicator-color` | | ||
| `--mod-switch-focus-indicator-gap` | | ||
| `--mod-switch-focus-indicator-thickness` | | ||
| `--mod-switch-font-size` | | ||
| `--mod-switch-handle-background-color-default` | | ||
| `--mod-switch-handle-background-color-disabled` | | ||
| `--mod-switch-handle-background-color-down` | | ||
| `--mod-switch-handle-background-color-focus` | | ||
| `--mod-switch-handle-background-color-hover` | | ||
| `--mod-switch-handle-background-color-selected` | | ||
| `--mod-switch-handle-background-color-selected-disabled` | | ||
| `--mod-switch-handle-selected-size` | | ||
| `--mod-switch-handle-size` | | ||
| `--mod-switch-height` | | ||
| `--mod-switch-label-color-default` | | ||
| `--mod-switch-label-color-disabled` | | ||
| `--mod-switch-label-color-down` | | ||
| `--mod-switch-label-color-focus` | | ||
| `--mod-switch-label-color-hover` | | ||
| `--mod-switch-line-height` | | ||
| `--mod-switch-spacing-bottom-to-label` | | ||
| `--mod-switch-spacing-top-to-control` | | ||
| `--mod-switch-spacing-top-to-label` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.