-
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.
feat: added semantic tokens to Messagebox (refs SFKUI-6986)
- Loading branch information
1 parent
a63ce45
commit c6cb705
Showing
4 changed files
with
47 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// INFO | ||
$icon-info-color-border: var(--fkds-color-feedback-border-info); | ||
$icon-info-color-background: var(--fkds-icon-color-background-primary); | ||
|
||
// WARNING | ||
$icon-warning-color-border: var(--fkds-color-feedback-border-warning); | ||
$icon-warning-color-background: var(--fkds-icon-color-background-primary); | ||
|
||
// ERROR | ||
$icon-error-color-border: var(--fkds-color-feedback-border-negative); | ||
$icon-error-color-background: var(--fkds-icon-color-background-primary); | ||
|
||
// SUCCESS | ||
$icon-success-color-border: var(--fkds-color-feedback-border-positive); | ||
$icon-success-color-background: var(--fkds-icon-color-background-primary); |
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
10 changes: 10 additions & 0 deletions
10
packages/design/src/components/message-box/_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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
$messagebox-info-color-background: var(--fkds-color-feedback-background-info); | ||
$messagebox-info-color-border: var(--fkds-color-feedback-border-info); | ||
$messagebox-error-color-background: var(--fkds-color-feedback-background-negative); | ||
$messagebox-error-color-border: var(--fkds-color-feedback-border-negative); | ||
$messagebox-warning-color-background: var(--fkds-color-feedback-background-warning); | ||
$messagebox-warning-color-border: var(--fkds-color-feedback-border-warning); | ||
$messagebox-success-color-background: var(--fkds-color-feedback-background-positive); | ||
$messagebox-success-color-border: var(--fkds-color-feedback-border-positive); | ||
$messagebox-info-color-heading: var(--fkds-color-text-primary); | ||
$messagebox-error-icon-error-color-border: var(--fkds-icon-color-feedback-content-negative); |