File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
packages/design/src/button/style Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,13 @@ export const genButtonStyle: GenerateStyle<ButtonToken> = (token: ButtonToken) =
3737 [ `${ componentCls } ` ] : {
3838 // remove box-shadow for button
3939 boxShadow : 'none !important' ,
40+ // button outlined and dashed style
4041 [ `&${ componentCls } -variant-outlined, &${ componentCls } -variant-dashed` ] : {
42+ // loading style
43+ [ `&${ componentCls } -loading` ] : {
44+ backgroundColor : token . colorBgContainerDisabled ,
45+ } ,
46+ // disabled style
4147 [ `&:not(:disabled):not(${ componentCls } -disabled):hover` ] : {
4248 [ `&:not(${ componentCls } -color-dangerous)` ] : {
4349 borderColor : token . gray7 ,
@@ -49,6 +55,11 @@ export const genButtonStyle: GenerateStyle<ButtonToken> = (token: ButtonToken) =
4955 } ,
5056 } ,
5157 } ,
58+ [ `${ componentCls } ${ componentCls } -sm` ] : {
59+ [ `${ componentCls } -icon` ] : {
60+ fontSize : token . fontSize ,
61+ } ,
62+ } ,
5263 } ;
5364} ;
5465
You can’t perform that action at this time.
0 commit comments