-
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): Rename global to global-tokens and remove globals settings
- Loading branch information
1 parent
6498719
commit 135723b
Showing
56 changed files
with
260 additions
and
280 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,17 +1,16 @@ | ||
@use '@global' as global-tokens; | ||
@use '../../settings/globals'; | ||
@use '@global-tokens' as global-tokens; | ||
|
||
$accordion-item-background-color-default: var(--#{globals.$prefix}color-background-interactive-default); | ||
$accordion-item-background-color-hover: var(--#{globals.$prefix}color-background-interactive-hover); | ||
$accordion-item-background-color-active: var(--#{globals.$prefix}color-background-interactive-active); | ||
$accordion-item-background-color-default: var(--#{global-tokens.$token-prefix}color-background-interactive-default); | ||
$accordion-item-background-color-hover: var(--#{global-tokens.$token-prefix}color-background-interactive-hover); | ||
$accordion-item-background-color-active: var(--#{global-tokens.$token-prefix}color-background-interactive-active); | ||
$accordion-header-typography: global-tokens.$body-medium-regular; | ||
$accordion-header-typography-active: global-tokens.$body-medium-bold; | ||
$accordion-header-typography-color: var(--#{globals.$prefix}color-text-primary); | ||
$accordion-header-typography-color: var(--#{global-tokens.$token-prefix}color-text-primary); | ||
$accordion-header-gap: global-tokens.$space-600; | ||
$accordion-header-padding-y: global-tokens.$space-900; | ||
$accordion-header-padding-x: global-tokens.$space-700; | ||
$accordion-border-radius: global-tokens.$radius-200; | ||
$accordion-divider-color: var(--#{globals.$prefix}color-border-basic); | ||
$accordion-divider-color: var(--#{global-tokens.$token-prefix}color-border-basic); | ||
$accordion-divider-width: global-tokens.$border-width-100; | ||
$accordion-divider-style: solid; | ||
$accordion-content-padding-bottom: 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
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,10 +1,9 @@ | ||
@use '@global' as global-tokens; | ||
@use '../../settings/globals'; | ||
@use '@global-tokens' as global-tokens; | ||
|
||
$breakpoints: global-tokens.$breakpoints; | ||
|
||
$typography: global-tokens.$body-small-regular; | ||
$color: var(--#{globals.$prefix}color-text-secondary); | ||
$color: var(--#{global-tokens.$token-prefix}color-text-secondary); | ||
|
||
$gap-mobile-up: global-tokens.$space-300; | ||
$gap-tablet-up: global-tokens.$space-500; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
@use '@global' as global-tokens; | ||
@use '../../settings/globals'; | ||
@use '@global-tokens' as global-tokens; | ||
|
||
$input-border-radius: global-tokens.$radius-200; | ||
$input-width: 18px; | ||
$input-margin: 3px; | ||
$input-checked-mark: var(--#{globals.$prefix}checkbox-input-background-image-url); | ||
$input-checked-mark-disabled: var(--#{globals.$prefix}checkbox-input-disabled-background-image-url); | ||
$input-indeterminate-mark: var(--#{globals.$prefix}checkbox-input-indeterminate-background-image-url); | ||
$input-indeterminate-mark-disabled: var(--#{globals.$prefix}checkbox-input-indeterminate-disabled-background-image-url); | ||
$input-checked-mark: var(--#{global-tokens.$token-prefix}checkbox-input-background-image-url); | ||
$input-checked-mark-disabled: var(--#{global-tokens.$token-prefix}checkbox-input-disabled-background-image-url); | ||
$input-indeterminate-mark: var(--#{global-tokens.$token-prefix}checkbox-input-indeterminate-background-image-url); | ||
$input-indeterminate-mark-disabled: var( | ||
--#{global-tokens.$token-prefix}checkbox-input-indeterminate-disabled-background-image-url | ||
); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
@use '@global' as global-tokens; | ||
@use '../../settings/globals'; | ||
@use '@global-tokens' as global-tokens; | ||
|
||
$border-width: global-tokens.$border-width-100; | ||
$border-style: solid; | ||
$border-color: var(--#{globals.$prefix}color-border-basic); | ||
$border-color: var(--#{global-tokens.$token-prefix}color-border-basic); |
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,11 +1,10 @@ | ||
@use '@global' as global-tokens; | ||
@use '@global-tokens' as global-tokens; | ||
@use '../../settings/dictionaries'; | ||
@use '../../settings/globals'; | ||
|
||
$breakpoints: global-tokens.$breakpoints; | ||
$offset: global-tokens.$space-500; | ||
$padding: global-tokens.$space-700; | ||
$border-radius: global-tokens.$radius-300; | ||
$background: var(--#{globals.$prefix}color-background-primary); | ||
$background: var(--#{global-tokens.$token-prefix}color-background-primary); | ||
$shadow: global-tokens.$shadow-200; | ||
$placement-dictionary: dictionaries.$placement; |
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,3 +1,3 @@ | ||
@use '@global' as global-tokens; | ||
@use '@global-tokens' as global-tokens; | ||
|
||
$gap: global-tokens.$space-500; |
32 changes: 16 additions & 16 deletions
32
packages/web/src/scss/components/FileUploader/_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,32 +1,32 @@ | ||
@use '@global' as global-tokens; | ||
@use '../../settings/globals'; | ||
@use '@global-tokens' as global-tokens; | ||
|
||
$input-drop-zone-padding: global-tokens.$space-700; | ||
$input-drop-zone-column-gap: global-tokens.$space-700; | ||
$input-drop-zone-border: global-tokens.$border-width-200 solid var(--#{globals.$prefix}color-form-field-border-default); | ||
$input-drop-zone-border: global-tokens.$border-width-200 solid | ||
var(--#{global-tokens.$token-prefix}color-form-field-border-default); | ||
$input-drop-zone-draggable-border: global-tokens.$border-width-200 dashed | ||
var(--#{globals.$prefix}color-form-field-border-default); | ||
var(--#{global-tokens.$token-prefix}color-form-field-border-default); | ||
$input-drop-zone-dragging-border: global-tokens.$border-width-200 dashed | ||
var(--#{globals.$prefix}color-form-field-border-selected); | ||
$input-drop-zone-border-color-hover: var(--#{globals.$prefix}color-form-field-border-hover); | ||
$input-drop-zone-border-color-active: var(--#{globals.$prefix}color-form-field-border-active); | ||
var(--#{global-tokens.$token-prefix}color-form-field-border-selected); | ||
$input-drop-zone-border-color-hover: var(--#{global-tokens.$token-prefix}color-form-field-border-hover); | ||
$input-drop-zone-border-color-active: var(--#{global-tokens.$token-prefix}color-form-field-border-active); | ||
$input-drop-zone-border-radius: global-tokens.$radius-300; | ||
$input-drop-zone-background: var(--#{globals.$prefix}color-background-interactive-default); | ||
$input-drop-zone-background-hover: var(--#{globals.$prefix}color-background-interactive-hover); | ||
$input-drop-zone-background-active: var(--#{globals.$prefix}color-background-interactive-active); | ||
$input-drop-zone-background: var(--#{global-tokens.$token-prefix}color-background-interactive-default); | ||
$input-drop-zone-background-hover: var(--#{global-tokens.$token-prefix}color-background-interactive-hover); | ||
$input-drop-zone-background-active: var(--#{global-tokens.$token-prefix}color-background-interactive-active); | ||
$input-drop-zone-label-typography: global-tokens.$body-medium-regular; | ||
$input-drop-zone-label-color: var(--#{globals.$prefix}color-text-primary); | ||
$input-drop-zone-icon-color: var(--#{globals.$prefix}color-action-link-primary-default); | ||
$input-drop-zone-label-color: var(--#{global-tokens.$token-prefix}color-text-primary); | ||
$input-drop-zone-icon-color: var(--#{global-tokens.$token-prefix}color-action-link-primary-default); | ||
|
||
$list-row-gap: global-tokens.$space-700; | ||
|
||
$attachment-column-gap: global-tokens.$space-700; | ||
$attachment-padding: global-tokens.$space-700; | ||
$attachment-typography: global-tokens.$body-medium-semibold; | ||
$attachment-color: var(--#{globals.$prefix}color-text-primary); | ||
$attachment-border: global-tokens.$border-width-100 solid var(--#{globals.$prefix}color-border-basic); | ||
$attachment-color: var(--#{global-tokens.$token-prefix}color-text-primary); | ||
$attachment-border: global-tokens.$border-width-100 solid var(--#{global-tokens.$token-prefix}color-border-basic); | ||
$attachment-border-radius: global-tokens.$radius-300; | ||
$attachment-background: var(--#{globals.$prefix}color-background-primary); | ||
$attachment-image-border: global-tokens.$border-width-100 solid var(--#{globals.$prefix}color-border-basic); | ||
$attachment-background: var(--#{global-tokens.$token-prefix}color-background-primary); | ||
$attachment-image-border: global-tokens.$border-width-100 solid var(--#{global-tokens.$token-prefix}color-border-basic); | ||
$attachment-image-border-radius: global-tokens.$radius-200; | ||
$attachment-tap-target-size: global-tokens.$space-1100; |
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 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,5 @@ | ||
@use '@global' as global-tokens; | ||
@use '../../settings/globals'; | ||
@use '@global-tokens' as global-tokens; | ||
|
||
$gap: global-tokens.$space-500; | ||
$icon-color-default: var(--#{globals.$prefix}color-selected-content-basic); | ||
$icon-color-disabled: var(--#{globals.$prefix}color-disabled-content); | ||
$icon-color-default: var(--#{global-tokens.$token-prefix}color-selected-content-basic); | ||
$icon-color-disabled: var(--#{global-tokens.$token-prefix}color-disabled-content); |
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
Oops, something went wrong.