-
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.
* adding context enhancements scoping and new elements * adding some of context styling * fixing the tests now failing due to the scoped contexts * fixing the note to most recent design * fixing CR remarks
- Loading branch information
Showing
6 changed files
with
130 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,40 @@ | ||
@use '@vonage/vvd-design-tokens/build/scss/semantic-variables/scheme-variables'; | ||
@use '@vonage/vvd-foundation/scss/variable-names/color-base-variable-names' as color-base; | ||
@use '@vonage/vvd-foundation/scss/variable-names/color-semantic-variable-names' as color-semantic; | ||
@use '@vonage/vvd-foundation/scss/mixins/color-connotation-mixins' with ( | ||
$connotations: success alert warning info announcement | ||
); | ||
|
||
@mixin scheme-variables-coupling { | ||
body { | ||
background-color: var(#{scheme-variables.$vvd-color-base}); | ||
color: var(#{scheme-variables.$vvd-color-on-base}); | ||
} | ||
|
||
a { | ||
color: color-base.$purple-600; | ||
} | ||
.vivid-scope-tmp { | ||
a { | ||
color: color-base.$purple-600; | ||
} | ||
|
||
code { | ||
background-color:var(#{scheme-variables.$vvd-color-surface}); | ||
color: color-base.$orange-600; | ||
} | ||
code, | ||
kbd, | ||
samp, | ||
var { | ||
background-color:var(#{scheme-variables.$vvd-color-surface}); | ||
color: color-base.$orange-600; | ||
} | ||
|
||
pre { | ||
background-color:var(#{scheme-variables.$vvd-color-surface}); | ||
} | ||
|
||
pre { | ||
background-color:var(#{scheme-variables.$vvd-color-surface}); | ||
blockquote { | ||
border-inline-start: 8px solid var(#{color-semantic.$vvd-color-connotation}); | ||
box-shadow: inset 0 1px 0 0 #b3b3b3, inset 0 -1px 0 0 #b3b3b3, inset -1px 0 0 0 #b3b3b3; | ||
} | ||
@include color-connotation-mixins.connotations-context( | ||
'blockquote#{color-connotation-mixins.$connotation-placeholder}', | ||
'info' | ||
); | ||
} | ||
} |
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