-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(web): Migrate
UNSTABLE_Slider
to the updated design tokens #DS…
…-1493
- Loading branch information
1 parent
ba8b0e7
commit 3bcf9fb
Showing
1 changed file
with
33 additions
and
33 deletions.
There are no files selected for viewing
66 changes: 33 additions & 33 deletions
66
packages/web/src/scss/components/UNSTABLE_Slider/_theme.scss
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,41 +1,41 @@ | ||
@use '@global-tokens' as global-tokens; | ||
@use '@tokens' as tokens; | ||
@use '../../settings/transitions'; | ||
|
||
$padding: global-tokens.$space-500; | ||
$row-gap: global-tokens.$space-700; | ||
$padding: tokens.$space-500; | ||
$row-gap: tokens.$space-700; | ||
$transition-duration: transitions.$duration-100; | ||
$transition-timing: transitions.$timing-eased-out; | ||
|
||
$track-height: global-tokens.$space-300; | ||
$track-border-radius: global-tokens.$radius-100; | ||
$track-background: var(--#{global-tokens.$token-prefix}color-border-interactive-default); | ||
$track-background-hover: var(--#{global-tokens.$token-prefix}color-border-interactive-hover); | ||
$track-background-active: var(--#{global-tokens.$token-prefix}color-border-interactive-active); | ||
$track-background-disabled: var(--#{global-tokens.$token-prefix}color-disabled-background); | ||
$track-lower-background: var(--#{global-tokens.$token-prefix}color-selected-default); | ||
$track-lower-background-hover: var(--#{global-tokens.$token-prefix}color-selected-default); | ||
$track-lower-background-active: var(--#{global-tokens.$token-prefix}color-selected-default); | ||
$track-lower-background-disabled: var(--#{global-tokens.$token-prefix}color-disabled-foreground); | ||
$track-height: tokens.$space-300; | ||
$track-border-radius: tokens.$radius-100; | ||
$track-background: tokens.$border-interactive-default; | ||
$track-background-hover: tokens.$border-interactive-hover; | ||
$track-background-active: tokens.$border-interactive-active; | ||
$track-background-disabled: tokens.$disabled-background; | ||
$track-lower-background: tokens.$selected-default; | ||
$track-lower-background-hover: tokens.$selected-default; | ||
$track-lower-background-active: tokens.$selected-default; | ||
$track-lower-background-disabled: tokens.$disabled-foreground; | ||
|
||
$thumb-width: global-tokens.$space-900; | ||
$thumb-height: global-tokens.$space-1100; | ||
$thumb-border-width: global-tokens.$border-width-200; | ||
$thumb-border-width-disabled: global-tokens.$border-width-100; | ||
$thumb-width: tokens.$space-900; | ||
$thumb-height: tokens.$space-1100; | ||
$thumb-border-width: tokens.$border-width-200; | ||
$thumb-border-width-disabled: tokens.$border-width-100; | ||
$thumb-border-style: solid; | ||
$thumb-border-color: var(--#{global-tokens.$token-prefix}color-form-field-border-default); | ||
$thumb-border-color-hover: var(--#{global-tokens.$token-prefix}color-form-field-border-hover); | ||
$thumb-border-color-active: var(--#{global-tokens.$token-prefix}color-selected-default); | ||
$thumb-border-color-disabled: var(--#{global-tokens.$token-prefix}color-disabled-foreground); | ||
$thumb-border-radius: global-tokens.$radius-200; | ||
$thumb-background-color: var(--#{global-tokens.$token-prefix}color-form-field-default); | ||
$thumb-background-color-hover: var(--#{global-tokens.$token-prefix}color-form-field-hover); | ||
$thumb-background-color-active: var(--#{global-tokens.$token-prefix}color-form-field-active); | ||
$thumb-background-color-disabled: var(--#{global-tokens.$token-prefix}color-disabled-background); | ||
$thumb-background-image: var(--#{global-tokens.$token-prefix}slider-thumb-background-image-url); | ||
$thumb-background-image-disabled: var(--#{global-tokens.$token-prefix}slider-thumb-disabled-background-image-url); | ||
$thumb-background-size: global-tokens.$space-500 global-tokens.$space-700; | ||
$thumb-box-shadow: global-tokens.$shadow-100; | ||
$thumb-box-shadow-hover: global-tokens.$shadow-100; | ||
$thumb-box-shadow-active: global-tokens.$shadow-200; | ||
$thumb-border-color: tokens.$form-field-border-default; | ||
$thumb-border-color-hover: tokens.$form-field-border-hover; | ||
$thumb-border-color-active: tokens.$selected-default; | ||
$thumb-border-color-disabled: tokens.$disabled-foreground; | ||
$thumb-border-radius: tokens.$radius-200; | ||
$thumb-background-color: tokens.$form-field-default; | ||
$thumb-background-color-hover: tokens.$form-field-hover; | ||
$thumb-background-color-active: tokens.$form-field-active; | ||
$thumb-background-color-disabled: tokens.$disabled-background; | ||
$thumb-background-image: var(--#{tokens.$token-prefix}slider-thumb-background-image-url); | ||
$thumb-background-image-disabled: var(--#{tokens.$token-prefix}slider-thumb-disabled-background-image-url); | ||
$thumb-background-size: tokens.$space-500 tokens.$space-700; | ||
$thumb-box-shadow: tokens.$shadow-100; | ||
$thumb-box-shadow-hover: tokens.$shadow-100; | ||
$thumb-box-shadow-active: tokens.$shadow-200; | ||
$thumb-box-shadow-disabled: none; | ||
$thumb-box-shadow-focus: global-tokens.$focus; | ||
$thumb-box-shadow-focus: tokens.$focus; |