-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(comp:alert): add theme tokens for typed alert text and bg colors (…
…#1918) 1. add typed alert theme tokens 2. change warining typed alert text and bg color to bronze and gold
- Loading branch information
Showing
9 changed files
with
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
| 名称 | 描述 | 类型 | default | dark | | ||
|---|---|---|---|---| | ||
| `borderRadius` | 边框圆角 | `number` | `2` | `2` | | ||
| `errorBgColor` | error 类型背景颜色 | `string` | `rgb(255, 238, 238)` | `rgb(54, 26, 27)` | | ||
| `errorTextColor` | error 类型文字颜色 | `string` | `#cf171d` | `#E8514C` | | ||
| `height` | 高度 | `number` | `32` | `32` | | ||
| `infoBgColor` | info 类型背景颜色 | `string` | `rgb(236, 244, 255)` | `rgb(21, 36, 58)` | | ||
| `infoTextColor` | info 类型文字颜色 | `string` | `#458fff` | `#4083E8` | | ||
| `offlineBgColor` | offline 类型背景颜色 | `string` | `rgb(246, 246, 247)` | `rgb(24, 27, 32)` | | ||
| `offlineTextColor` | offline 类型文字颜色 | `string` | `#6f7785` | `#808999` | | ||
| `successBgColor` | success 类型背景颜色 | `string` | `rgb(233, 250, 244)` | `rgb(21, 49, 42)` | | ||
| `successTextColor` | success 类型文字颜色 | `string` | `#12a679` | `#40C695` | | ||
| `warningBgColor` | warning 类型背景颜色 | `string` | `rgb(253, 247, 236)` | `rgb(54, 44, 25)` | | ||
| `warningTextColor` | warning 类型文字颜色 | `string` | `#a35f40` | `#D6A181` | |
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