-
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): Switch Container, Divider, Stack, ActionLayout & EmptyStat…
…e to v3 design tokens #DS-1444
- Loading branch information
Showing
7 changed files
with
28 additions
and
24 deletions.
There are no files selected for viewing
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,6 +1,6 @@ | ||
@use '@tokens' as tokens; | ||
@use '@global' as global-tokens; | ||
@use '../../settings/transitions'; | ||
|
||
$breakpoints: tokens.$breakpoints; | ||
$breakpoints: global-tokens.$breakpoints; | ||
$collapse-transition-timing: transitions.$timing-eased-in-out-fast; | ||
$collapse-transition-duration: transitions.$duration-200; |
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,5 +1,6 @@ | ||
@use '@tokens' as tokens; | ||
@use '@global' as global-tokens; | ||
@use '../../settings/globals'; | ||
|
||
$border-width: tokens.$border-width-100; | ||
$border-style: tokens.$border-style-100; | ||
$border-color: tokens.$border-secondary-default; | ||
$border-width: global-tokens.$border-width-100; | ||
$border-style: solid; | ||
$border-color: var(--#{globals.$prefix}color-border-secondary-default); |
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,5 +1,6 @@ | ||
@use '@tokens' as tokens; | ||
@use '@global' as global-tokens; | ||
@use '../../settings/globals'; | ||
|
||
$breakpoints: tokens.$breakpoints; | ||
$border: tokens.$border-width-100 tokens.$border-style-100 tokens.$border-secondary-default; | ||
$spacing-fallback: tokens.$space-600; | ||
$breakpoints: global-tokens.$breakpoints; | ||
$border: global-tokens.$border-width-100 solid var(--#{globals.$prefix}color-border-secondary-default); | ||
$spacing-fallback: global-tokens.$space-600; |
6 changes: 3 additions & 3 deletions
6
packages/web/src/scss/components/UNSTABLE_ActionLayout/_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,4 +1,4 @@ | ||
@use '@tokens' as tokens; | ||
@use '@global' as global-tokens; | ||
|
||
$breakpoints: tokens.$breakpoints; | ||
$root-gap: tokens.$space-600; | ||
$breakpoints: global-tokens.$breakpoints; | ||
$root-gap: global-tokens.$space-700; |
10 changes: 5 additions & 5 deletions
10
packages/web/src/scss/components/UNSTABLE_EmptyState/_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,6 +1,6 @@ | ||
@use '@tokens' as tokens; | ||
@use '@global' as global-tokens; | ||
|
||
$breakpoints: tokens.$breakpoints; | ||
$root-padding: tokens.$space-1000 tokens.$space-700; | ||
$root-padding-desktop: tokens.$space-1000 tokens.$space-800; | ||
$buttons-gap: tokens.$space-600; | ||
$breakpoints: global-tokens.$breakpoints; | ||
$root-padding: global-tokens.$space-1200 global-tokens.$space-900; | ||
$root-padding-desktop: global-tokens.$space-1200 global-tokens.$space-1000; | ||
$buttons-gap: global-tokens.$space-700; |
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