diff --git a/components/alert/style/index.less b/components/alert/style/index.less index 4a45547d71..3bfff2fc36 100644 --- a/components/alert/style/index.less +++ b/components/alert/style/index.less @@ -16,7 +16,7 @@ } &-icon { - font-size: 14px; + font-size: @font-size-lg; top: 9px; left: 16px; position: absolute; @@ -113,7 +113,7 @@ } &-with-description &-message { - font-size: 14px; + font-size: @font-size-lg; color: @heading-color; display: block; margin-bottom: 4px; diff --git a/components/card/style/index.less b/components/card/style/index.less index 0101ce919a..1e1fc33f44 100644 --- a/components/card/style/index.less +++ b/components/card/style/index.less @@ -26,7 +26,7 @@ padding: 0 24px; &-title { - font-size: 14px; + font-size: @font-size-lg; display: inline-block; text-overflow: ellipsis; width: 100%; diff --git a/components/form/style/index.less b/components/form/style/index.less index 6e45d13fd9..b84d914dfd 100644 --- a/components/form/style/index.less +++ b/components/form/style/index.less @@ -292,7 +292,7 @@ form { .square(@input-height-lg); line-height: @input-height-lg; text-align: center; - font-size: 14px; + font-size: @font-size-lg; animation: zoomIn .3s @ease-out-back; .iconfont-font(""); } diff --git a/components/form/style/mixin.less b/components/form/style/mixin.less index 801cdae8a5..9646bac3ec 100644 --- a/components/form/style/mixin.less +++ b/components/form/style/mixin.less @@ -50,7 +50,7 @@ width: 100%; padding: 0; margin-bottom: 20px; - font-size: 14px; + font-size: @font-size-lg; line-height: inherit; color: @text-color-secondary; border: 0; diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index cc681262e8..476998af73 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -93,7 +93,7 @@ right: 0; z-index: 2; .square(@height); - font-size: 14px; + font-size: @font-size-lg; line-height: @height; text-align: center; pointer-events: none; diff --git a/components/message/style/index.less b/components/message/style/index.less index b1d43cc313..fe7be3809a 100644 --- a/components/message/style/index.less +++ b/components/message/style/index.less @@ -46,7 +46,7 @@ .@{iconfont-css-prefix} { margin-right: 8px; - font-size: 14px; + font-size: @font-size-lg; top: 1px; position: relative; } diff --git a/components/modal/style/confirm.less b/components/modal/style/confirm.less index e76ec03622..3d8348d94a 100644 --- a/components/modal/style/confirm.less +++ b/components/modal/style/confirm.less @@ -23,7 +23,7 @@ .@{confirm-prefix-cls}-title { color: @text-color; font-weight: bold; - font-size: 14px; + font-size: @font-size-lg; } .@{confirm-prefix-cls}-content { diff --git a/components/modal/style/modal.less b/components/modal/style/modal.less index ac7174a629..452bcb98b8 100644 --- a/components/modal/style/modal.less +++ b/components/modal/style/modal.less @@ -21,7 +21,7 @@ &-title { margin: 0; - font-size: 14px; + font-size: @font-size-lg; line-height: 21px; font-weight: bold; } @@ -59,7 +59,7 @@ text-rendering: auto; width: 14px; height: 14px; - font-size: 14px; + font-size: @font-size-lg; line-height: 1; &:before { diff --git a/components/notification/style/index.less b/components/notification/style/index.less index c61d9aa23f..f8fcb09a0b 100644 --- a/components/notification/style/index.less +++ b/components/notification/style/index.less @@ -23,7 +23,7 @@ overflow: hidden; &-message { - font-size: 14px; + font-size: @font-size-lg; color: @heading-color; margin-bottom: 4px; white-space: nowrap; @@ -41,7 +41,7 @@ } &-with-icon &-message { - font-size: 14px; + font-size: @font-size-lg; margin-left: 48px; margin-bottom: 4px; } diff --git a/components/steps/style/index.less b/components/steps/style/index.less index f6a434ef90..099343d221 100644 --- a/components/steps/style/index.less +++ b/components/steps/style/index.less @@ -151,7 +151,7 @@ line-height: 23px; text-align: center; border-radius: 26px; - font-size: 14px; + font-size: @font-size-lg; margin-right: 8px; transition: background-color 0.3s ease, border-color 0.3s ease; @@ -172,7 +172,7 @@ margin-top: 2.5px; } .@{steps-prefix-cls}-title { - font-size: 14px; + font-size: @font-size-lg; margin-bottom: 4px; color: @text-color; font-weight: bold; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index db3a15518d..bcef05dec3 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -17,6 +17,7 @@ @heading-color : #404040; @text-color-secondary : #999; @font-size-base : 12px; +@font-size-lg : @font-size-base + 2px; @line-height-base : 1.5; @border-radius-base : 6px; @border-radius-sm : 4px; @@ -88,7 +89,7 @@ @btn-disable-border : @border-color-base; @btn-padding-base : 4px 15px; -@btn-font-size-lg : 14px; +@btn-font-size-lg : @font-size-lg; @btn-padding-lg : 4px 15px 5px 15px; @btn-padding-sm : 1px 7px; diff --git a/components/tabs/style/index.less b/components/tabs/style/index.less index 9e6fa5696e..f35c556bf3 100644 --- a/components/tabs/style/index.less +++ b/components/tabs/style/index.less @@ -33,7 +33,7 @@ &-nav-container { overflow: hidden; - font-size: 14px; + font-size: @font-size-lg; line-height: @line-height-base; box-sizing: border-box; position: relative; diff --git a/components/transfer/style/index.less b/components/transfer/style/index.less index 6952c85e31..cd73ce100a 100644 --- a/components/transfer/style/index.less +++ b/components/transfer/style/index.less @@ -34,7 +34,7 @@ height: 32px; line-height: 32px; text-align: center; - font-size: 14px; + font-size: @font-size-lg; .@{iconfont-css-prefix} { transition: all .3s; font-size: @font-size-base; diff --git a/components/upload/style/index.less b/components/upload/style/index.less index 2ad5832956..7e19c730f9 100644 --- a/components/upload/style/index.less +++ b/components/upload/style/index.less @@ -91,7 +91,7 @@ margin-bottom: 24px; } p.@{upload-prefix-cls}-text { - font-size: 14px; + font-size: @font-size-lg; } p.@{upload-prefix-cls}-hint { font-size: @font-size-base;