Skip to content

Commit

Permalink
style: add @modal-header-color variable (ant-design#19385)
Browse files Browse the repository at this point in the history
* 💄 add @modal-header-color variable

close ant-design#19358

* 👌 change variable name
  • Loading branch information
MrHeer authored and yoyo837 committed Oct 24, 2019
1 parent d06b1fa commit 2761460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/style/modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

&-title {
margin: 0;
color: @heading-color;
color: @modal-heading-color;
font-weight: 500;
font-size: @font-size-lg;
line-height: 22px;
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 @@ -380,6 +380,7 @@
// --
@modal-body-padding: 24px;
@modal-header-bg: @component-background;
@modal-heading-color: @heading-color;
@modal-footer-bg: transparent;
@modal-footer-border-color-split: @border-color-split;
@modal-mask-bg: fade(@black, 45%);
Expand Down

0 comments on commit 2761460

Please sign in to comment.