@zesty-io/material 0.14.0 → 0.15.0
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 +29 -2
- package/package.json +1 -1
package/es/theme/index.js
CHANGED
|
@@ -348,10 +348,37 @@ const components = {
|
|
|
348
348
|
},
|
|
349
349
|
MuiAlert: {
|
|
350
350
|
styleOverrides: {
|
|
351
|
-
|
|
351
|
+
root: {
|
|
352
|
+
borderRadius: "8px",
|
|
353
|
+
padding: "8px 12px",
|
|
354
|
+
},
|
|
355
|
+
action: ({ theme }) => ({
|
|
356
|
+
color: theme.palette.common.white,
|
|
357
|
+
alignItems: "center",
|
|
358
|
+
padding: 0,
|
|
359
|
+
paddingLeft: "16px",
|
|
360
|
+
marginRight: 0,
|
|
361
|
+
}),
|
|
362
|
+
message: ({ theme }) => ({
|
|
363
|
+
color: theme.palette.common.white,
|
|
364
|
+
}),
|
|
365
|
+
icon: ({ theme }) => ({
|
|
352
366
|
alignSelf: "center",
|
|
353
367
|
marginRight: "8px",
|
|
354
|
-
|
|
368
|
+
color: theme.palette.common.white,
|
|
369
|
+
}),
|
|
370
|
+
filledSuccess: ({ theme }) => ({
|
|
371
|
+
backgroundColor: theme.palette.success.dark,
|
|
372
|
+
}),
|
|
373
|
+
filledInfo: ({ theme }) => ({
|
|
374
|
+
backgroundColor: theme.palette.info.main,
|
|
375
|
+
}),
|
|
376
|
+
filledWarning: ({ theme }) => ({
|
|
377
|
+
backgroundColor: theme.palette.warning.main,
|
|
378
|
+
}),
|
|
379
|
+
filledError: ({ theme }) => ({
|
|
380
|
+
backgroundColor: theme.palette.error.dark,
|
|
381
|
+
}),
|
|
355
382
|
standardWarning: ({ theme }) => ({
|
|
356
383
|
backgroundColor: theme.palette.yellow[100],
|
|
357
384
|
color: theme.palette.warning.dark,
|