ux: avoid using variant:text buttons, as they may be confused with simple text
Massimo Melina committed
Mar 16, 2022 at 16:19 UTC
861814bb7130e2f5c09263083cce706cff58ad97
1 file changed
+3
-2
admin/src/theme.ts
+3
-2
@@ -16,8 +16,9 @@ export function useMyTheme() {
16
MuiTextField: {
17
defaultProps: { variant: 'filled' }
18
},
19
- MuiButton: lightMode || {
20
- styleOverrides: {
19
+ MuiButton: {
20
+ defaultProps: { variant: 'outlined' },
21
+ styleOverrides: lightMode || {
22
root({ ownerState }) {
23
return ownerState.color === 'primary' && {
24
color: ownerState.variant === 'contained' ? '#ddd' : '#68c'