Skip to content

Commit 80fe303

Browse files
TsMasksendya
authored andcommitted
fix(pro-layout): Header 文字颜色根据Theme取反色
1 parent e919dc7 commit 80fe303

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: packages/pro-layout/src/components/GlobalHeader/index.less

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
align-items: center;
1313
height: 100%;
1414
padding: 0 16px;
15+
color: @text-color;
1516
background: @pro-layout-header-bg;
1617
box-shadow: @pro-layout-header-box-shadow;
1718
> * {

Diff for: packages/pro-layout/src/components/TopNavHeader/index.less

+2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
height: 100%;
99
box-shadow: 0 1px 4px 0 rgba(0, 21, 41, 0.12);
1010
transition: background 0.3s, width 0.2s;
11+
color: @text-color-dark;
1112

1213
.@{ant-prefix}-menu {
1314
background: transparent;
1415
}
1516

1617
&.light {
18+
color: @text-color;
1719
background-color: @component-background;
1820
.@{top-nav-header-prefix-cls}-logo {
1921
h1 {

0 commit comments

Comments
 (0)