@zesty-io/material 0.6.5 → 0.6.6

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.
@@ -1,3 +1,3 @@
1
- import { Theme } from '@mui/material/styles';
1
+ import { Theme } from "@mui/material/styles";
2
2
  declare let theme: Theme;
3
3
  export default theme;
@@ -1,8 +1,8 @@
1
1
  // No checking legacy theme to not have conflicting module augmentation
2
2
  // @ts-nocheck
3
- import palette from './palette';
4
- import typography from './typography';
5
- import { createTheme } from '@mui/material/styles';
3
+ import palette from "./palette";
4
+ import typography from "./typography";
5
+ import { createTheme } from "@mui/material/styles";
6
6
  let theme = createTheme({
7
7
  palette,
8
8
  typography,
@@ -12,14 +12,14 @@ theme = createTheme(theme, {
12
12
  MuiAccordionSummary: {
13
13
  styleOverrides: {
14
14
  root: {
15
- backgroundColor: '#e4e9f1',
15
+ backgroundColor: "#e4e9f1",
16
16
  },
17
17
  },
18
18
  },
19
19
  MuiButton: {
20
20
  styleOverrides: {
21
21
  root: {
22
- minWidth: 'auto',
22
+ minWidth: "auto",
23
23
  },
24
24
  },
25
25
  },
@@ -28,8 +28,8 @@ theme = createTheme(theme, {
28
28
  tooltip: {
29
29
  color: theme.palette.primary.contrastText,
30
30
  backgroundColor: theme.palette.primary.main,
31
- fontSize: '14px',
32
- lineHeight: '20px',
31
+ fontSize: "14px",
32
+ lineHeight: "20px",
33
33
  },
34
34
  arrow: {
35
35
  color: theme.palette.primary.main,
@@ -56,14 +56,14 @@ theme = createTheme(theme, {
56
56
  MuiCard: {
57
57
  styleOverrides: {
58
58
  root: {
59
- overflow: 'visible',
59
+ overflow: "visible",
60
60
  },
61
61
  },
62
62
  },
63
63
  MuiCardHeader: {
64
64
  styleOverrides: {
65
65
  root: {
66
- backgroundColor: '#e4e9f1',
66
+ backgroundColor: "#e4e9f1",
67
67
  },
68
68
  },
69
69
  },
@@ -78,6 +78,25 @@ theme = createTheme(theme, {
78
78
  }),
79
79
  },
80
80
  },
81
+ MuiCssBaseline: {
82
+ styleOverrides: {
83
+ body: {
84
+ boxSizing: "content-box",
85
+ "&::-webkit-scrollbar, & *::-webkit-scrollbar": {
86
+ width: "8px",
87
+ height: "8px",
88
+ },
89
+ "&::-webkit-scrollbar-track-piece, & *::-webkit-scrollbar-track-piece": {
90
+ backgroundColor: "#f2f4f7",
91
+ borderRadius: "4px",
92
+ },
93
+ "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": {
94
+ backgroundColor: "#d0d5dd",
95
+ borderRadius: "4px",
96
+ },
97
+ },
98
+ },
99
+ },
81
100
  },
82
101
  });
83
102
  export default theme;
package/es/theme/index.js CHANGED
@@ -417,6 +417,31 @@ theme = createTheme(theme, {
417
417
  },
418
418
  },
419
419
  },
420
+ MuiCssBaseline: {
421
+ styleOverrides: {
422
+ body: {
423
+ "&::-webkit-scrollbar, & *::-webkit-scrollbar": {
424
+ width: "8px",
425
+ height: "8px",
426
+ },
427
+ "&::-webkit-scrollbar-track-piece, & *::-webkit-scrollbar-track-piece": {
428
+ backgroundColor: theme.palette.grey[100],
429
+ borderRadius: "4px",
430
+ },
431
+ "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": {
432
+ backgroundColor: theme.palette.grey[300],
433
+ borderRadius: "4px",
434
+ },
435
+ },
436
+ },
437
+ },
438
+ MuiDivider: {
439
+ styleOverrides: {
440
+ root: {
441
+ borderColor: theme.palette.border
442
+ }
443
+ }
444
+ }
420
445
  },
421
446
  });
422
447
  export default theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zesty-io/material",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Contains custom components which are in addition to the @mui design-system",
5
5
  "author": "Zesty.io",
6
6
  "license": "MIT",