@zesty-io/material 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/theme/index.js +15 -2
- package/es/theme/palette.js +1 -1
- package/package.json +1 -1
package/es/theme/index.js
CHANGED
|
@@ -85,6 +85,9 @@ const components = {
|
|
|
85
85
|
textInherit: ({ theme }) => ({
|
|
86
86
|
color: theme.palette.text.secondary,
|
|
87
87
|
}),
|
|
88
|
+
containedWarning: ({ theme }) => ({
|
|
89
|
+
color: theme.palette.common.white,
|
|
90
|
+
}),
|
|
88
91
|
},
|
|
89
92
|
defaultProps: {
|
|
90
93
|
disableElevation: true,
|
|
@@ -322,16 +325,19 @@ const components = {
|
|
|
322
325
|
styleOverrides: {
|
|
323
326
|
icon: {
|
|
324
327
|
alignSelf: "center",
|
|
328
|
+
marginRight: "8px",
|
|
325
329
|
},
|
|
326
330
|
standardWarning: ({ theme }) => ({
|
|
331
|
+
backgroundColor: theme.palette.yellow[100],
|
|
332
|
+
color: theme.palette.warning.dark,
|
|
327
333
|
" .MuiAlert-icon": {
|
|
328
|
-
color: theme.palette.
|
|
334
|
+
color: theme.palette.warning.dark,
|
|
329
335
|
},
|
|
330
336
|
}),
|
|
331
337
|
standardInfo: ({ theme }) => ({
|
|
332
338
|
backgroundColor: theme.palette.blue[100],
|
|
333
339
|
" .MuiAlert-icon": {
|
|
334
|
-
color: theme.palette.info.
|
|
340
|
+
color: theme.palette.info.dark,
|
|
335
341
|
},
|
|
336
342
|
"& .MuiAlert-message": {
|
|
337
343
|
color: theme.palette.info.dark,
|
|
@@ -584,6 +590,13 @@ const components = {
|
|
|
584
590
|
}),
|
|
585
591
|
},
|
|
586
592
|
},
|
|
593
|
+
MuiCheckbox: {
|
|
594
|
+
styleOverrides: {
|
|
595
|
+
root: {
|
|
596
|
+
color: "text.disabled",
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
}
|
|
587
600
|
};
|
|
588
601
|
export let theme = createTheme({
|
|
589
602
|
typography,
|
package/es/theme/palette.js
CHANGED