File tree 1 file changed +7
-5
lines changed
src/ui/widgets/ActionButton
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { Font } from "../../../types/font";
18
18
import { Border } from "../../../types/border" ;
19
19
import { MacroContext } from "../../../types/macros" ;
20
20
import { ExitFileContext , FileContext } from "../../../misc/fileContext" ;
21
- import { Button , ThemeProvider } from "@mui/material" ;
21
+ import { Button , ThemeProvider } from "@mui/material" ;
22
22
23
23
import { defaultColours } from "../../../colourscheme" ;
24
24
@@ -78,10 +78,12 @@ export const ActionButtonWidget = (
78
78
height : "100%" ,
79
79
width : "100%" ,
80
80
fontFamily : props . font ?. css ( ) ?? "" ,
81
- color : props . foregroundColor ?. toString ( ) ??
82
- defaultColours . palette . primary . contrastText ,
83
- backgroundColor : props . backgroundColor ?. toString ( ) ??
84
- defaultColours . palette . primary . main ,
81
+ color :
82
+ props . foregroundColor ?. toString ( ) ??
83
+ defaultColours . palette . primary . contrastText ,
84
+ backgroundColor :
85
+ props . backgroundColor ?. toString ( ) ??
86
+ defaultColours . palette . primary . main ,
85
87
border : props . border ?. css ( ) ?? ""
86
88
} }
87
89
onClick = { onClick }
You can’t perform that action at this time.
0 commit comments