chore: add @font-weight-bold var (#4594)

This commit is contained in:
neverland 2019-09-26 20:39:59 +08:00 committed by GitHub
parent 7ad6c324f8
commit 557b8ea54d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 27 additions and 22 deletions

View File

@ -45,7 +45,7 @@
}
&__header {
font-weight: 500;
font-weight: @font-weight-bold;
font-size: @action-sheet-header-font-size;
line-height: @action-sheet-header-height;
text-align: center;

View File

@ -29,7 +29,7 @@
&__name {
margin-bottom: 5px;
font-weight: 500;
font-weight: @font-weight-bold;
font-size: @font-size-md;
line-height: 20px;
}

View File

@ -45,7 +45,7 @@
&__title {
max-height: 32px;
font-weight: 500;
font-weight: @font-weight-bold;
line-height: @card-title-line-height;
.multi-ellipsis(2);
@ -64,7 +64,7 @@
&__price {
display: inline-block;
color: @card-price-color;
font-weight: 500;
font-weight: @font-weight-bold;
}
&__origin-price {

View File

@ -21,7 +21,7 @@
}
&__name {
font-weight: 500;
font-weight: @font-weight-bold;
font-size: @font-size-md;
line-height: 20px;
}

View File

@ -25,7 +25,7 @@
position: absolute;
bottom: 0;
left: 0;
font-weight: 500;
font-weight: @font-weight-bold;
}
&__empty {

View File

@ -28,7 +28,7 @@
h2 {
height: 34px;
font-weight: 500;
font-weight: @font-weight-bold;
line-height: 34px;
}

View File

@ -3,7 +3,7 @@
.van-goods-action-button {
flex: 1;
height: @goods-action-button-height;
font-weight: 500;
font-weight: @font-weight-bold;
font-size: @font-size-md;
line-height: normal;
border: none;

View File

@ -14,7 +14,7 @@
&__index {
padding: 0 @padding-base 0 @padding-md;
font-weight: 500;
font-weight: @font-weight-bold;
font-size: @index-bar-index-font-size;
line-height: @index-bar-index-line-height;
}

View File

@ -34,7 +34,7 @@
max-width: 60%;
margin: 0 auto;
color: @nav-bar-title-text-color;
font-weight: 500;
font-weight: @font-weight-bold;
font-size: @nav-bar-title-font-size;
}

View File

@ -28,7 +28,7 @@
&__title {
max-width: 50%;
font-weight: 500;
font-weight: @font-weight-bold;
font-size: @picker-title-font-size;
text-align: center;
}

View File

@ -72,7 +72,7 @@
}
&__price-num {
font-weight: 500;
font-weight: @font-weight-bold;
font-size: 22px;
vertical-align: middle;
word-wrap: break-word;
@ -316,7 +316,7 @@
.van-button {
height: 40px;
font-weight: 500;
font-weight: @font-weight-bold;
font-size: @font-size-md;
line-height: 34px;
border: none;

View File

@ -33,6 +33,9 @@
@font-size-md: 14px;
@font-size-lg: 16px;
// Font Weight
@font-weight-bold: 500;
// Animation
@animation-duration-base: .3s;
@animation-duration-fast: .2s;
@ -163,7 +166,7 @@
// Circle
@circle-text-color: @text-color;
@circle-text-font-weight: 500;
@circle-text-font-weight: @font-weight-bold;
@circle-text-font-size: @font-size-md;
@circle-text-line-height: 18px;
@ -233,7 +236,7 @@
@dialog-transition: @animation-duration-base;
@dialog-border-radius: 4px;
@dialog-background-color: @white;
@dialog-header-font-weight: 500;
@dialog-header-font-weight: @font-weight-bold;
@dialog-header-line-height: 24px;
@dialog-header-padding-top: @padding-lg;
@dialog-header-isolated-padding: @padding-lg 0;
@ -302,7 +305,7 @@
// IndexAnchor
@index-anchor-padding: 0 @padding-md;
@index-anchor-text-color: @text-color;
@index-anchor-font-weight: 500;
@index-anchor-font-weight: @font-weight-bold;
@index-anchor-font-size: @font-size-md;
@index-anchor-line-height: 32px;
@index-anchor-background-color: transparent;
@ -317,7 +320,7 @@
@info-color: @white;
@info-padding: 0 3px;
@info-font-size: @font-size-sm;
@info-font-weight: 500;
@info-font-weight: @font-weight-bold;
@info-border-width: 1px;
@info-background-color: @red;
@info-dot-color: @red;
@ -496,7 +499,7 @@
@sidebar-padding: 20px @padding-sm 20px @padding-xs;
@sidebar-active-color: @active-color;
@sidebar-background-color: @background-color-light;
@sidebar-selected-font-weight: 500;
@sidebar-selected-font-weight: @font-weight-bold;
@sidebar-selected-text-color: @text-color;
@sidebar-selected-border-color: @red;
@sidebar-selected-background-color: @white;
@ -673,6 +676,8 @@
@uploader-file-background-color: @background-color;
@uploader-file-icon-size: 20px;
@uploader-file-icon-color: @gray-darker;
@uploader-file-name-padding: 0 @padding-base;
@uploader-file-name-margin-top: @padding-xs;
@uploader-file-name-font-size: @font-size-sm;
@uploader-file-name-text-color: @gray-darker;

View File

@ -39,7 +39,7 @@
flex: 1;
padding-right: @padding-sm;
color: @submit-bar-text-color;
font-weight: 500;
font-weight: @font-weight-bold;
text-align: right;
span {

View File

@ -18,7 +18,7 @@
&--active {
color: @tab-active-text-color;
font-weight: 500;
font-weight: @font-weight-bold;
}
&--disabled {

View File

@ -86,8 +86,8 @@
&-name {
box-sizing: border-box;
width: 100%;
margin-top: @padding-xs;
padding: 0 5px;
margin-top: @uploader-file-name-margin-top;
padding: @uploader-file-name-padding;
color: @uploader-file-name-text-color;
font-size: @uploader-file-name-font-size;
text-align: center;