@zesty-io/material 0.6.1 → 0.6.2
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 -1
- package/es/theme/palette.d.ts +9 -0
- package/package.json +1 -1
package/es/theme/index.js
CHANGED
|
@@ -112,12 +112,21 @@ theme = createTheme(theme, {
|
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
114
|
},
|
|
115
|
+
MuiFormHelperText: {
|
|
116
|
+
styleOverrides: {
|
|
117
|
+
root: {
|
|
118
|
+
...theme.typography.body2,
|
|
119
|
+
margin: "4px 0px 0px 0px",
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
},
|
|
115
123
|
MuiInputBase: {
|
|
116
124
|
styleOverrides: {
|
|
117
125
|
input: {
|
|
118
126
|
...theme.typography.body2,
|
|
119
127
|
"::placeholder": {
|
|
120
128
|
color: theme.palette.text.disabled,
|
|
129
|
+
opacity: 1,
|
|
121
130
|
},
|
|
122
131
|
},
|
|
123
132
|
},
|
|
@@ -150,6 +159,9 @@ theme = createTheme(theme, {
|
|
|
150
159
|
},
|
|
151
160
|
MuiDialog: {
|
|
152
161
|
styleOverrides: {
|
|
162
|
+
paper: {
|
|
163
|
+
borderRadius: '8px',
|
|
164
|
+
},
|
|
153
165
|
paperWidthXs: {
|
|
154
166
|
width: "480px",
|
|
155
167
|
maxWidth: "480px",
|
|
@@ -251,7 +263,7 @@ theme = createTheme(theme, {
|
|
|
251
263
|
},
|
|
252
264
|
},
|
|
253
265
|
standardInfo: {
|
|
254
|
-
backgroundColor: alpha(theme.palette.
|
|
266
|
+
backgroundColor: alpha(theme.palette.blue[500], 0.1),
|
|
255
267
|
" .MuiAlert-icon": {
|
|
256
268
|
color: theme.palette.info.main,
|
|
257
269
|
},
|
|
@@ -272,12 +284,14 @@ theme = createTheme(theme, {
|
|
|
272
284
|
},
|
|
273
285
|
cell: {
|
|
274
286
|
borderColor: theme.palette.border,
|
|
287
|
+
padding: '0 16px',
|
|
275
288
|
},
|
|
276
289
|
columnHeaders: {
|
|
277
290
|
borderColor: theme.palette.border,
|
|
278
291
|
backgroundColor: theme.palette.grey[50],
|
|
279
292
|
},
|
|
280
293
|
columnHeader: {
|
|
294
|
+
padding: '0 16px',
|
|
281
295
|
'&:focus': {
|
|
282
296
|
outline: 'unset',
|
|
283
297
|
},
|
package/es/theme/palette.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { Color } from '@mui/material';
|
|
2
2
|
import { PaletteOptions } from '@mui/material/styles';
|
|
3
3
|
declare module '@mui/material/styles' {
|
|
4
|
+
interface Palette {
|
|
5
|
+
red: Color;
|
|
6
|
+
deepPurple: Color;
|
|
7
|
+
deepOrange: Color;
|
|
8
|
+
pink: Color;
|
|
9
|
+
blue: Color;
|
|
10
|
+
green: Color;
|
|
11
|
+
purple: Color;
|
|
12
|
+
}
|
|
4
13
|
interface PaletteOptions {
|
|
5
14
|
red?: Partial<Color>;
|
|
6
15
|
deepPurple?: Partial<Color>;
|