File tree Expand file tree Collapse file tree
style/mobile/components/button Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33@import ' ./_var.less' ;
44
55.button-size (@size ) {
6- @fontSize : ' button-@{size} -font-size ' ;
6+ @font : ' button-@{size} -font' ;
77 @padding : ' button-@{size} -padding-horizontal' ;
88 @height : ' button-@{size} -height' ;
99 @iconSize : ' button-@{size} -icon-size' ;
1010
1111 .@{button} --size- @{size} {
12- font-size : @@fontSize ;
12+ font : @@font ;
1313 padding-left : @@padding ;
1414 padding-right : @@padding ;
1515 height : @@height ;
120120 transition : all 0.3s ;
121121 border-radius : @button-border-radius ;
122122 outline : none ;
123- font-family : @button-font-family ;
124- font-weight : @button-font-weight ;
125123 vertical-align : top ;
126124
127125 .cursor-pointer ();
Original file line number Diff line number Diff line change 11@button-border-width : var (--td-button-border-width , 2px );
22@button-border-radius : var (--td-button-border-radius , @radius-default);
33@button-font-weight : var (--td-button-font-weight , 600 );
4- @button-font-family : var (--td-button-font-family , @font-family);
54
6- @button-extra-small-font-size : var (--td-button-extra-small-font-size , @font-size-base );
7- @button-small-font-size : var (--td-button-small-font-size , @font-size-base );
8- @button-medium-font-size : var (--td-button-medium-font-size , @font-size-m );
9- @button-large-font-size : var (--td-button-large-font-size , @font-size-m );
5+ @button-extra-small-font : var (--td-button-extra-small-font , @font-body-medium );
6+ @button-small-font : var (--td-button-small-font , @font-body-medium );
7+ @button-medium-font : var (--td-button-medium-font , @font-body-large );
8+ @button-large-font : var (--td-button-large-font , @font-body-large );
109
1110@button-extra-small-height : var (--td-button-extra-small-height , 28px );
1211@button-small-height : var (--td-button-small-height , 32px );
You can’t perform that action at this time.
0 commit comments