-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(notice): Add component tokens (#8645)
**Related Issue:** #7180 ## Summary Adds the following public component css properties: `--calcite-notice-background-color`: Specifies the background color of the component. `--calcite-notice-border-color`: Specifies the border color of the component. `--calcite-notice-shadow`: Specifies the box shadow of the component. `--calcite-notice-corner-radius`: Specifies the corner radius of the component. `--calcite-notice-icon-color`: Specifies the color of the component's icon property. `--calcite-notice-close-icon-color`: Specifies the color of the component's `closable` icon color. `--calcite-notice-close-background-color`: Specifies the color of the component's closable background color. `--calcite-notice-close-background-color-hover`: Specifies the hover color of the component's closable background color. `--calcite-notice-close-background-color-active`: Specifies the active color of the component's closable background color. `--calcite-notice-close-background-color-focus`: Specifies the focus color of the component's closable background color. `--calcite-notice-close-focus-color`: Specifies the focus color of the component's closable background color. Adds a Chromatic test and a demo page example.
- Loading branch information
1 parent
9a9675c
commit 69ae47e
Showing
3 changed files
with
93 additions
and
32 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