Skip to content

Commit

Permalink
💄 add @page-header-back-color less variable (ant-design#18887)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHeer authored and yoyo837 committed Sep 19, 2019
1 parent 88cf4d5 commit a5bb161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/page-header/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
line-height: 1;
&-button {
.operation-unit();
color: #000;
color: @page-header-back-color;
cursor: pointer;
}
}
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@
@page-header-padding: 24px;
@page-header-padding-vertical: 16px;
@page-header-padding-breadcrumb: 12px;
@page-header-back-color: #000;

// Breadcrumb
// ---
Expand Down

0 comments on commit a5bb161

Please sign in to comment.