Skip to content

Commit 4dc2f93

Browse files
authored
feat(breadcrumb): [breadcrumb] Add dark theme (#2984)
1 parent 2ca7f1e commit 4dc2f93

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/theme/src/breadcrumb/index.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@
3232
.@{breadcrumb-prefix-cls}__inner {
3333
font-weight: var(--tv-Breadcrumb-text-font-weight);
3434
text-decoration: none;
35+
color: var(--tv-Breadcrumb-last-text-color);
3536

3637
a {
3738
cursor: text;
3839
text-decoration: none;
40+
color: var(--tv-Breadcrumb-last-text-color);
3941
}
4042
}
4143

packages/theme/src/breadcrumb/vars.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
// 文本行高
1717
--tv-Breadcrumb-text-line-height: var(--tv-line-height-number);
1818
// 文本色
19-
--tv-Breadcrumb-text-color: var(--tv-color-text);
19+
--tv-Breadcrumb-text-color: var(--tv-color-text-control);
20+
// 选中文本色
21+
--tv-Breadcrumb-last-text-color: var(--tv-color-text-active-3);
2022
// 分隔符填充色
21-
--tv-Breadcrumb-separator-icon-color: var(--tv-color-icon);
23+
--tv-Breadcrumb-separator-icon-color: var(--tv-color-text-placeholder);
2224
// 分割箭头宽度
2325
--tv-Breadcrumb-separator-width: 16px;
2426
// 分隔图标的水平外边距

0 commit comments

Comments
 (0)