We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f3f45 commit 99959f9Copy full SHA for 99959f9
packages/theme/src/badge/index.less
@@ -33,7 +33,7 @@
33
vertical-align: baseline;
34
white-space: nowrap;
35
text-align: center;
36
- border: 1px solid #FFFFFF;
+ border: 1px solid var(--tv-Badge-border-color);
37
margin-left: var(--tv-Badge-margin-left);
38
39
&:empty {
packages/theme/src/badge/vars.less
@@ -23,6 +23,8 @@
23
--tv-Badge-text-color: var(--tv-color-text-inverse);
24
// 标记的背景色
25
--tv-Badge-bg-color: var(--tv-color-act-danger-bg);
26
+ // 标记的边框色
27
+ --tv-Badge-border-color: var(--tv-color-border-inverse-tint);
28
// 标记a标签的文本及悬浮文本色
29
--tv-Badge-a-text-color: var(--tv-color-text-inverse);
30
// 标记左边距
0 commit comments