-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(css-variables): iss 744/viv 434 remove obsolete variables (#745)
* issue #744: removing the obsolete ones * issue #744: wip; * issue #744: wip * issue #744: wip * issue #744: tests fixed and file picker one added * issue #744: button fixed and tests added * issue #744: fixed icon button and tested * issue #744: fixed list item and manually verified * issue #744: selected fixed and manually verified * issue #744: fixed textfield, manually verified * issue #744: fixing the dependencies * fixing CR comments * issue #744: fixing CR remarks * issue #744: reflecting CR remarks * issue #744: reflecting CR remarks * API - forward connotation variables Co-authored-by: yinonov <yinon@hotmail.com>
- Loading branch information
Showing
69 changed files
with
285 additions
and
256 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
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
5 changes: 5 additions & 0 deletions
5
common/foundation/scss/mixins/color-connotation/_variables.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,2 +1,7 @@ | ||
$compound-placeholder: '[compound]'; | ||
$selector: ':host(#{$compound-placeholder})' !default; | ||
|
||
// use SASS pointers below to refer to CSS variables in a type-safe fashion | ||
|
||
$vvd-color-connotation: --vvd-color-connotation; | ||
$vvd-color-on-connotation: --vvd-color-on-connotation; |
22 changes: 0 additions & 22 deletions
22
common/foundation/scss/variable-names/_color-semantic-variable-names.scss
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 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@use '@vonage/vvd-design-tokens/build/scss/semantic-variables/scheme-variables'; | ||
|
||
// use SASS pointers below to refer to CSS variables in a type-safe fashion | ||
|
||
$formfield-disabled-ink: --vvd-formfield-disabled-ink; | ||
$formfield-disabled-fill: --vvd-formfield-disabled-fill; | ||
|
||
$formfield-label-idle-ink: --vvd-formfield-label-idle-ink; | ||
|
||
$formfield-border-idle: --vvd-formfield-border-idle; | ||
$formfield-border-hover: --vvd-formfield-border-hover; | ||
$formfield-border-disabled: --vvd-formfield-border-disabled; | ||
|
||
$formfield-error-fill: --vvd-formfield-error-fill; | ||
$formfield-label-error-ink: --vvd-formfield-label-error-ink; | ||
|
||
@mixin coupling { | ||
#{$formfield-disabled-ink}: var(#{scheme-variables.$vvd-color-neutral-50}); | ||
#{$formfield-disabled-fill}: var(#{scheme-variables.$vvd-color-neutral-20}); | ||
|
||
#{$formfield-label-idle-ink}: var(#{scheme-variables.$vvd-color-neutral-70}); | ||
|
||
#{$formfield-border-idle}: var(#{scheme-variables.$vvd-color-neutral-50}); | ||
#{$formfield-border-hover}: var(#{scheme-variables.$vvd-color-on-base}); | ||
#{$formfield-border-disabled}: var(#{scheme-variables.$vvd-color-neutral-50}); | ||
|
||
#{$formfield-error-fill}: var(#{scheme-variables.$vvd-color-alert-20}); | ||
#{$formfield-label-error-ink}: var(#{scheme-variables.$vvd-color-alert}); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@use '@vonage/vvd-design-tokens/build/scss/semantic-variables/scheme-variables'; | ||
|
||
:host { | ||
--mdc-theme-primary: var(#{scheme-variables.$vvd-color-primary}); | ||
--mdc-theme-on-primary: var(#{scheme-variables.$vvd-color-on-primary}); | ||
--mdc-theme-text-primary-on-background: var(#{scheme-variables.$vvd-color-on-base}); | ||
--mdc-theme-secondary: var(#{scheme-variables.$vvd-color-primary}); | ||
--mdc-theme-on-secondary: var(#{scheme-variables.$vvd-color-on-primary}); | ||
|
||
--mdc-theme-surface: var(#{scheme-variables.$vvd-color-base}); | ||
--mdc-theme-on-surface: var(#{scheme-variables.$vvd-color-on-base}); | ||
|
||
--mdc-theme-error: var(#{scheme-variables.$vvd-color-alert}); | ||
} |
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 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
Oops, something went wrong.