-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(visual): removed component tokens usage from code (#DS-2996) (#387)
- Loading branch information
Showing
51 changed files
with
1,821 additions
and
11,887 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
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
3,287 changes: 0 additions & 3,287 deletions
3,287
apps/docs/src/styles/koobiq/default-theme/_variables.scss
Large diffs are not rendered by default.
Oops, something went wrong.
1,022 changes: 0 additions & 1,022 deletions
1,022
apps/docs/src/styles/koobiq/default-theme/css-tokens-dark.css
Large diffs are not rendered by default.
Oops, something went wrong.
808 changes: 0 additions & 808 deletions
808
apps/docs/src/styles/koobiq/default-theme/css-tokens-font.css
This file was deleted.
Oops, something went wrong.
1,005 changes: 0 additions & 1,005 deletions
1,005
apps/docs/src/styles/koobiq/default-theme/css-tokens-light.css
Large diffs are not rendered by default.
Oops, something went wrong.
458 changes: 0 additions & 458 deletions
458
apps/docs/src/styles/koobiq/default-theme/css-tokens.css
Large diffs are not rendered by default.
Oops, something went wrong.
6,715 changes: 1,715 additions & 5,000 deletions
6,715
apps/docs/src/styles/koobiq/default-theme/js/index.js
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
2 changes: 1 addition & 1 deletion
2
packages/components-experimental/form-field/form-field-tokens.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
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
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
This file was deleted.
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
This file was deleted.
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,70 +1,5 @@ | ||
.kbq-option { | ||
--kbq-list-size-container-padding-left: var(--kbq-size-m); | ||
--kbq-list-size-container-padding-right: var(--kbq-size-m); | ||
--kbq-list-size-container-padding-vertical: var(--kbq-size-xs); | ||
--kbq-list-size-container-content-gap-horizontal: var(--kbq-size-s); | ||
--kbq-list-size-container-content-gap-vertical: var(--kbq-size-3xs); | ||
--kbq-list-size-container-focus-outline-width: var(--kbq-size-3xs); | ||
--kbq-list-size-text-padding-vertical: 0; | ||
--kbq-list-size-header-padding-top: var(--kbq-size-s); | ||
--kbq-list-size-header-padding-bottom: var(--kbq-size-xxs); | ||
--kbq-list-size-header-padding-horizontal: var(--kbq-size-m); | ||
--kbq-list-size-subheading-padding-top: var(--kbq-size-m); | ||
--kbq-list-size-subheading-padding-bottom: var(--kbq-size-xxs); | ||
--kbq-list-size-subheading-padding-horizontal: var(--kbq-size-m); | ||
--kbq-option-size-horizontal-padding: var(--kbq-size-m); | ||
--kbq-option-size-height: var(--kbq-size-3xl); | ||
--kbq-option-size-border-width: 2px; | ||
} | ||
|
||
:where(.kbq-light, .theme-light, .kbq-theme-light) { | ||
--kbq-list-default-container-background: transparent; | ||
--kbq-list-default-text-color: var(--kbq-foreground-contrast); | ||
--kbq-list-default-icon-color: var(--kbq-icon-contrast); | ||
--kbq-list-default-icon-button-color: var(--kbq-icon-contrast-fade); | ||
--kbq-list-default-caption-color: var(--kbq-foreground-contrast-secondary); | ||
--kbq-list-states-hover-container-background: var(--kbq-states-background-transparent-hover); | ||
--kbq-list-states-hover-text-color: var(--kbq-foreground-contrast); | ||
--kbq-list-states-hover-icon-color: var(--kbq-icon-contrast); | ||
--kbq-list-states-hover-icon-button-color: var(--kbq-icon-contrast-fade); | ||
--kbq-list-states-selected-container-background: var(--kbq-background-theme-less); | ||
--kbq-list-states-selected-text-color: var(--kbq-foreground-contrast); | ||
--kbq-list-states-selected-icon-color: var(--kbq-icon-contrast); | ||
--kbq-list-states-selected-icon-button-color: var(--kbq-icon-contrast-fade); | ||
--kbq-list-states-selected-hover-container-background: var(--kbq-states-background-theme-less-hover); | ||
--kbq-list-states-selected-hover-text-color: var(--kbq-foreground-contrast); | ||
--kbq-list-states-selected-hover-icon-color: var(--kbq-icon-contrast); | ||
--kbq-list-states-selected-hover-icon-button-color: var(--kbq-icon-contrast-fade); | ||
--kbq-list-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme); | ||
--kbq-list-states-disabled-container-background: transparent; | ||
--kbq-list-states-disabled-text-color: var(--kbq-states-foreground-disabled); | ||
--kbq-list-states-disabled-icon-color: var(--kbq-states-icon-disabled); | ||
--kbq-list-states-disabled-icon-button-color: var(--kbq-states-icon-disabled); | ||
--kbq-list-states-disabled-caption-color: var(--kbq-states-foreground-disabled); | ||
} | ||
|
||
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) { | ||
--kbq-list-default-container-background: transparent; | ||
--kbq-list-default-text-color: var(--kbq-foreground-contrast); | ||
--kbq-list-default-icon-color: var(--kbq-icon-contrast); | ||
--kbq-list-default-icon-button-color: var(--kbq-icon-contrast-fade); | ||
--kbq-list-default-caption-color: var(--kbq-foreground-contrast-secondary); | ||
--kbq-list-states-hover-container-background: var(--kbq-states-background-transparent-hover); | ||
--kbq-list-states-hover-text-color: var(--kbq-foreground-contrast); | ||
--kbq-list-states-hover-icon-color: var(--kbq-icon-contrast); | ||
--kbq-list-states-hover-icon-button-color: var(--kbq-icon-contrast-fade); | ||
--kbq-list-states-selected-container-background: var(--kbq-background-theme-less); | ||
--kbq-list-states-selected-text-color: var(--kbq-foreground-contrast); | ||
--kbq-list-states-selected-icon-color: var(--kbq-icon-contrast); | ||
--kbq-list-states-selected-icon-button-color: var(--kbq-icon-contrast-fade); | ||
--kbq-list-states-selected-hover-container-background: var(--kbq-states-background-theme-less-hover); | ||
--kbq-list-states-selected-hover-text-color: var(--kbq-foreground-contrast); | ||
--kbq-list-states-selected-hover-icon-color: var(--kbq-icon-contrast); | ||
--kbq-list-states-selected-hover-icon-button-color: var(--kbq-icon-contrast-fade); | ||
--kbq-list-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme); | ||
--kbq-list-states-disabled-container-background: transparent; | ||
--kbq-list-states-disabled-text-color: var(--kbq-states-foreground-disabled); | ||
--kbq-list-states-disabled-icon-color: var(--kbq-states-icon-disabled); | ||
--kbq-list-states-disabled-icon-button-color: var(--kbq-states-icon-disabled); | ||
--kbq-list-states-disabled-caption-color: var(--kbq-states-foreground-disabled); | ||
} |
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,11 +1,6 @@ | ||
@use 'sass:map'; | ||
@use './tokens' as *; | ||
@mixin popup-params() { | ||
box-shadow: var(--kbq-popup-shadow); | ||
border-color: var(--kbq-popup-border); | ||
|
||
@mixin popup-params($theme) { | ||
$popup: map.get($theme, components, popup); | ||
|
||
box-shadow: var(--kbq-popup-shadow, map.get($popup, shadow)); | ||
border-color: var(--kbq-popup-border, map.get($popup, border)); | ||
|
||
background-color: var(--kbq-popup-background, map.get($popup, background)); | ||
background-color: var(--kbq-popup-background); | ||
} |
Oops, something went wrong.