@webpros/mui-theme 0.2.0 → 0.3.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/README.md +23 -1
- package/dist/package.json +17 -9
- package/dist/src/components/data-display/Table/Table.theme.js +5 -6
- package/dist/src/components/feedback/Alert/Alert.theme.js +1 -0
- package/dist/src/components/feedback/Dialog/Dialog.js +0 -1
- package/dist/src/components/feedback/Dialog/Dialog.theme.d.ts +5 -0
- package/dist/src/components/feedback/Dialog/Dialog.theme.js +43 -14
- package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.js +20 -12
- package/dist/src/components/feedback/Snackbar/Snackbar.theme.js +4 -0
- package/dist/src/components/index.d.ts +0 -2
- package/dist/src/components/index.js +0 -2
- package/dist/src/components/inputs/Button/Button.theme.d.ts +1 -1
- package/dist/src/components/inputs/Button/Button.theme.js +3 -0
- package/dist/src/components/inputs/IconButton/IconButton.theme.js +3 -0
- package/dist/src/components/inputs/OutlinedInput/OutlinedInput.theme.js +1 -1
- package/dist/src/components/inputs/TimePicker/TimePicker.theme.js +2 -2
- package/dist/src/components/inputs/ToggleButton/ToggleButton.theme.d.ts +1 -1
- package/dist/src/components/inputs/ToggleButton/ToggleButton.theme.js +14 -14
- package/dist/src/components/inputs/ToggleButtonGroup/ToggleButtonGroup.theme.js +2 -9
- package/dist/src/components/navigation/Tabs/Tabs.theme.js +1 -1
- package/dist/src/constants.js +2 -2
- package/dist/src/icons/index.d.ts +4 -0
- package/dist/src/icons/index.js +12 -0
- package/dist/src/style/custom-color-palette.js +1 -1
- package/dist/src/tokens/colors/Dark.js +26 -2
- package/dist/src/tokens/colors/Light.js +62 -68
- package/dist/src/tokens/colors/inverseStateLayers.d.ts +14 -0
- package/dist/src/tokens/index.d.ts +0 -2
- package/dist/src/tokens/legacyColors/LegacyDark.js +0 -10
- package/dist/src/tokens/legacyColors/LegacyLight.js +0 -10
- package/dist/src/tokens/legacyColors/ThemeColorTokensLegacy.d.ts +0 -2
- package/dist/src/tokens/legacyColors/Tone.d.ts +0 -16
- package/dist/src/utils/createIcon.d.ts +12 -0
- package/dist/src/utils/createIcon.js +94 -0
- package/dist/src/utils/getMUIComponents.js +2 -2
- package/dist/src/utils/getMUIPalette.d.ts +3 -72
- package/dist/src/utils/getMUIPalette.js +177 -177
- package/dist/src/utils/getMUIThemeCustoimzationType.d.ts +1 -1
- package/dist/src/utils/getStateLayerColor.d.ts +0 -53
- package/dist/src/utils/getStateLayerColor.js +0 -58
- package/package.json +17 -9
- package/dist/src/components/data-display/DataGrid/DataGrid.d.ts +0 -4
- package/dist/src/components/data-display/DataGrid/DataGrid.js +0 -7
- package/dist/src/components/data-display/DataGrid/DataGrid.theme.d.ts +0 -11
- package/dist/src/components/data-display/DataGrid/DataGrid.theme.js +0 -21
- package/dist/src/components/data-display/DataGrid/index.d.ts +0 -1
- package/dist/src/components/data-display/DataGrid/index.js +0 -2
- package/dist/src/components/data-display/DataGrid/mock-data.d.ts +0 -18
- package/dist/src/components/data-display/DataGrid/mock-data.js +0 -184
- package/dist/src/components/surfaces/Card/Card.d.ts +0 -3
- package/dist/src/components/surfaces/Card/Card.js +0 -4
- package/dist/src/components/surfaces/Card/Card.theme.d.ts +0 -16
- package/dist/src/components/surfaces/Card/Card.theme.js +0 -100
- package/dist/src/components/surfaces/Card/index.d.ts +0 -1
- package/dist/src/components/surfaces/Card/index.js +0 -2
- package/dist/src/style/additional-color-palette.d.ts +0 -1
- package/dist/src/style/additional-color-palette.js +0 -23
- package/dist/src/tokens/legacyColors/additionalColors/additionalColors.d.ts +0 -21
- package/dist/src/tokens/legacyColors/additionalColors/additionalColors.js +0 -2
- package/dist/src/tokens/legacyColors/additionalColors/index.d.ts +0 -2
- package/dist/src/tokens/legacyColors/additionalColors/index.js +0 -6
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
2
|
-
import '@mui/x-data-grid/themeAugmentation';
|
|
3
|
-
export const getDataGrid = (theme) => {
|
|
4
|
-
const { palette } = theme;
|
|
5
|
-
return {
|
|
6
|
-
MuiDataGrid: {
|
|
7
|
-
styleOverrides: {
|
|
8
|
-
cell: {
|
|
9
|
-
display: 'flex',
|
|
10
|
-
flexDirection: 'row',
|
|
11
|
-
alignContent: 'center',
|
|
12
|
-
alignItems: 'center',
|
|
13
|
-
gap: 2,
|
|
14
|
-
},
|
|
15
|
-
columnHeaders: {
|
|
16
|
-
color: palette.supportive.main,
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DataGrid.theme';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { GridColDef } from '@mui/x-data-grid';
|
|
2
|
-
type Data = {
|
|
3
|
-
id: number;
|
|
4
|
-
pid: number;
|
|
5
|
-
parendProcessId: number;
|
|
6
|
-
user: string;
|
|
7
|
-
program: string;
|
|
8
|
-
cpu: number;
|
|
9
|
-
mem: number;
|
|
10
|
-
bytesRead: number;
|
|
11
|
-
bytesWrite: number;
|
|
12
|
-
ioRead: number;
|
|
13
|
-
ioWrite: number;
|
|
14
|
-
openFiles: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const mockColumns: readonly GridColDef[];
|
|
17
|
-
export declare const mockRows: Data[];
|
|
18
|
-
export {};
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ChartBarIcon } from '@phosphor-icons/react';
|
|
3
|
-
export const mockColumns = [
|
|
4
|
-
{
|
|
5
|
-
field: 'pid',
|
|
6
|
-
minWidth: 170,
|
|
7
|
-
renderHeader: () => 'PID',
|
|
8
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [_jsx(ChartBarIcon, { size: 16 }), value] })),
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
field: 'parendProcessId',
|
|
12
|
-
minWidth: 170,
|
|
13
|
-
renderHeader: () => 'Parent process ID',
|
|
14
|
-
renderCell: ({ value }) => value,
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
field: 'user',
|
|
18
|
-
minWidth: 170,
|
|
19
|
-
renderHeader: () => 'User',
|
|
20
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [_jsx(ChartBarIcon, { size: 16 }), value] })),
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
field: 'program',
|
|
24
|
-
minWidth: 170,
|
|
25
|
-
renderHeader: () => 'Program',
|
|
26
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [_jsx(ChartBarIcon, { size: 16 }), value] })),
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
field: 'cpu',
|
|
30
|
-
minWidth: 170,
|
|
31
|
-
renderHeader: () => 'CPU',
|
|
32
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '%'] })),
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
field: 'mem',
|
|
36
|
-
minWidth: 170,
|
|
37
|
-
renderHeader: () => 'MEM',
|
|
38
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, " ", 'MB'] })),
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
field: 'bytesRead',
|
|
42
|
-
minWidth: 170,
|
|
43
|
-
renderHeader: () => 'Bytes Read',
|
|
44
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '%'] })),
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
field: 'bytesWrite',
|
|
48
|
-
minWidth: 170,
|
|
49
|
-
renderHeader: () => 'Bytes Write',
|
|
50
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '%'] })),
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
field: 'ioRead',
|
|
54
|
-
minWidth: 170,
|
|
55
|
-
renderHeader: () => 'I/O read',
|
|
56
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '/s'] })),
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
field: 'ioWrite',
|
|
60
|
-
minWidth: 170,
|
|
61
|
-
renderHeader: () => 'I/O write',
|
|
62
|
-
renderCell: ({ value }) => (_jsxs(_Fragment, { children: [value, '/s'] })),
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
field: 'openFiles',
|
|
66
|
-
minWidth: 170,
|
|
67
|
-
renderHeader: () => 'Open file',
|
|
68
|
-
renderCell: ({ value }) => value,
|
|
69
|
-
},
|
|
70
|
-
];
|
|
71
|
-
export const mockRows = [
|
|
72
|
-
{
|
|
73
|
-
id: 2380700,
|
|
74
|
-
pid: 2380700,
|
|
75
|
-
parendProcessId: 2380694,
|
|
76
|
-
user: 'root',
|
|
77
|
-
program: 'dd',
|
|
78
|
-
cpu: 88,
|
|
79
|
-
mem: 824,
|
|
80
|
-
bytesRead: 0.5,
|
|
81
|
-
bytesWrite: 91,
|
|
82
|
-
ioRead: 0,
|
|
83
|
-
ioWrite: 37,
|
|
84
|
-
openFiles: `~`,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
id: 24238,
|
|
88
|
-
pid: 24238,
|
|
89
|
-
parendProcessId: 1,
|
|
90
|
-
user: 'agent360',
|
|
91
|
-
program: 'agent360',
|
|
92
|
-
cpu: 0.5,
|
|
93
|
-
mem: 24.4,
|
|
94
|
-
bytesRead: 0.5,
|
|
95
|
-
bytesWrite: 0.5,
|
|
96
|
-
ioRead: 0,
|
|
97
|
-
ioWrite: 37,
|
|
98
|
-
openFiles: `~`,
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
id: 1,
|
|
102
|
-
pid: 1,
|
|
103
|
-
parendProcessId: 0,
|
|
104
|
-
user: 'root',
|
|
105
|
-
program: 'systemd',
|
|
106
|
-
cpu: 0.4,
|
|
107
|
-
mem: 9,
|
|
108
|
-
bytesRead: 0.3,
|
|
109
|
-
bytesWrite: 0.3,
|
|
110
|
-
ioRead: 0.3,
|
|
111
|
-
ioWrite: 37,
|
|
112
|
-
openFiles: `~`,
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
id: 717,
|
|
116
|
-
pid: 717,
|
|
117
|
-
parendProcessId: 1,
|
|
118
|
-
user: 'root',
|
|
119
|
-
program: 'fail2ban-server',
|
|
120
|
-
cpu: 0.4,
|
|
121
|
-
mem: 22,
|
|
122
|
-
bytesRead: 0.2,
|
|
123
|
-
bytesWrite: 0.2,
|
|
124
|
-
ioRead: 0,
|
|
125
|
-
ioWrite: 37,
|
|
126
|
-
openFiles: `~`,
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
id: 887,
|
|
130
|
-
pid: 887,
|
|
131
|
-
parendProcessId: 1,
|
|
132
|
-
user: 'mysql',
|
|
133
|
-
program: 'mariadb',
|
|
134
|
-
cpu: 0.1,
|
|
135
|
-
mem: 51.3,
|
|
136
|
-
bytesRead: 0,
|
|
137
|
-
bytesWrite: 0,
|
|
138
|
-
ioRead: 0,
|
|
139
|
-
ioWrite: 37,
|
|
140
|
-
openFiles: `~`,
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
id: 1471590,
|
|
144
|
-
pid: 1471590,
|
|
145
|
-
parendProcessId: 429674,
|
|
146
|
-
user: 'psaadm',
|
|
147
|
-
program: 'plesk-task-manager',
|
|
148
|
-
cpu: 0.1,
|
|
149
|
-
mem: 17.4,
|
|
150
|
-
bytesRead: 0,
|
|
151
|
-
bytesWrite: 0,
|
|
152
|
-
ioRead: 0,
|
|
153
|
-
ioWrite: 37,
|
|
154
|
-
openFiles: `~`,
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
id: 2300508,
|
|
158
|
-
pid: 2300508,
|
|
159
|
-
parendProcessId: 2380700,
|
|
160
|
-
user: 'postfix',
|
|
161
|
-
program: 'smtpd',
|
|
162
|
-
cpu: 0.1,
|
|
163
|
-
mem: 15.1,
|
|
164
|
-
bytesRead: 0,
|
|
165
|
-
bytesWrite: 0,
|
|
166
|
-
ioRead: 0,
|
|
167
|
-
ioWrite: 37,
|
|
168
|
-
openFiles: `~`,
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
id: 2380848,
|
|
172
|
-
pid: 2380848,
|
|
173
|
-
parendProcessId: 2135230,
|
|
174
|
-
user: 'root',
|
|
175
|
-
program: 'fluent-bit',
|
|
176
|
-
cpu: 0.1,
|
|
177
|
-
mem: 14.6,
|
|
178
|
-
bytesRead: 0,
|
|
179
|
-
bytesWrite: 0,
|
|
180
|
-
ioRead: 0,
|
|
181
|
-
ioWrite: 37,
|
|
182
|
-
openFiles: `~`,
|
|
183
|
-
},
|
|
184
|
-
];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Theme, ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material';
|
|
2
|
-
declare module '@mui/material/Paper' {
|
|
3
|
-
interface PaperPropsVariantOverrides {
|
|
4
|
-
filled: true;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
interface M3Card {
|
|
8
|
-
MuiCard: {
|
|
9
|
-
defaultProps?: ComponentsProps['MuiCard'];
|
|
10
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiCard'];
|
|
11
|
-
variants?: ComponentsVariants['MuiCard'];
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export declare const getCard: (theme: Theme) => M3Card;
|
|
15
|
-
declare const _default: {};
|
|
16
|
-
export default _default;
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
2
|
-
import { alpha, } from '@mui/material';
|
|
3
|
-
import { StateLayer, getStateLayerColor } from '../../../utils/getStateLayerColor';
|
|
4
|
-
export const getCard = (theme) => {
|
|
5
|
-
const { palette } = theme;
|
|
6
|
-
return {
|
|
7
|
-
MuiCard: {
|
|
8
|
-
styleOverrides: {
|
|
9
|
-
root: {
|
|
10
|
-
borderRadius: '20px',
|
|
11
|
-
padding: '10px 6px',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
variants: [
|
|
15
|
-
{
|
|
16
|
-
props: { variant: 'elevation' },
|
|
17
|
-
style: {
|
|
18
|
-
boxShadow: theme.shadows[1],
|
|
19
|
-
backgroundColor: palette.surfaceContainerLow.main,
|
|
20
|
-
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
|
21
|
-
duration: theme.transitions.duration.short,
|
|
22
|
-
}),
|
|
23
|
-
'&:hover': {
|
|
24
|
-
background: getStateLayerColor(StateLayer.Hover, palette.surfaceContainerLow.main, palette.primary.main),
|
|
25
|
-
boxShadow: theme.shadows[2],
|
|
26
|
-
},
|
|
27
|
-
'&:focus': {
|
|
28
|
-
boxShadow: theme.shadows[1],
|
|
29
|
-
background: getStateLayerColor(StateLayer.Focus, palette.surfaceContainerLow.main, palette.primary.main),
|
|
30
|
-
},
|
|
31
|
-
'&:active': {
|
|
32
|
-
boxShadow: theme.shadows[1],
|
|
33
|
-
background: getStateLayerColor(StateLayer.Press, palette.surfaceContainerLow.main, palette.primary.main),
|
|
34
|
-
},
|
|
35
|
-
'&.Mui-disabled': {
|
|
36
|
-
backgroundColor: alpha(palette.surfaceContainerLow.main, 0.38),
|
|
37
|
-
// color: palette.surfaceVariant.main,
|
|
38
|
-
boxShadow: theme.shadows[0],
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
props: { variant: 'filled' },
|
|
44
|
-
style: {
|
|
45
|
-
boxShadow: theme.shadows[0],
|
|
46
|
-
backgroundColor: palette.surfaceContainerHighest.main,
|
|
47
|
-
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
|
48
|
-
duration: theme.transitions.duration.short,
|
|
49
|
-
}),
|
|
50
|
-
'&:hover': {
|
|
51
|
-
background: getStateLayerColor(StateLayer.Hover, palette.surfaceContainerHighest.main, palette.primary.main),
|
|
52
|
-
boxShadow: theme.shadows[1],
|
|
53
|
-
},
|
|
54
|
-
'&:focus': {
|
|
55
|
-
boxShadow: theme.shadows[0],
|
|
56
|
-
background: getStateLayerColor(StateLayer.Focus, palette.surfaceContainerHighest.main, palette.primary.main),
|
|
57
|
-
},
|
|
58
|
-
'&:active': {
|
|
59
|
-
boxShadow: theme.shadows[1],
|
|
60
|
-
background: getStateLayerColor(StateLayer.Press, palette.surfaceContainerHighest.main, palette.primary.main),
|
|
61
|
-
},
|
|
62
|
-
'&.Mui-disabled': {
|
|
63
|
-
backgroundColor: alpha(palette.surfaceContainerHighest.main, 0.38),
|
|
64
|
-
// color: palette.surfaceVariant.main,
|
|
65
|
-
boxShadow: theme.shadows[1],
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
props: { variant: 'flat' },
|
|
71
|
-
style: {
|
|
72
|
-
boxShadow: theme.shadows[0],
|
|
73
|
-
backgroundColor: palette.surface.main,
|
|
74
|
-
borderColor: palette.outline.main,
|
|
75
|
-
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
|
76
|
-
duration: theme.transitions.duration.short,
|
|
77
|
-
}),
|
|
78
|
-
'&:hover': {
|
|
79
|
-
background: getStateLayerColor(StateLayer.Hover, palette.surface.main, palette.primary.main),
|
|
80
|
-
boxShadow: theme.shadows[1],
|
|
81
|
-
},
|
|
82
|
-
'&:focus': {
|
|
83
|
-
boxShadow: theme.shadows[0],
|
|
84
|
-
background: getStateLayerColor(StateLayer.Focus, palette.surface.main, palette.primary.main),
|
|
85
|
-
},
|
|
86
|
-
'&:active': {
|
|
87
|
-
boxShadow: theme.shadows[2],
|
|
88
|
-
background: getStateLayerColor(StateLayer.Press, palette.surfaceContainerHighest.main, palette.primary.main),
|
|
89
|
-
},
|
|
90
|
-
'&.Mui-disabled': {
|
|
91
|
-
borderColor: alpha(palette.surfaceContainerHighest.main, 0.12),
|
|
92
|
-
boxShadow: theme.shadows[0],
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
},
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
export default {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Card.theme';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AdditionalColorPalette: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
3
|
-
import Grid from '@mui/material/Grid2/Grid2';
|
|
4
|
-
import { ColorItem } from '@storybook/addon-docs/blocks';
|
|
5
|
-
import { LegacyDarkTokensDefault } from '../tokens/legacyColors';
|
|
6
|
-
export const AdditionalColorPalette = () => {
|
|
7
|
-
return (_jsx(Grid, { container: true, rowSpacing: 2, direction: 'column', children: Object.entries(LegacyDarkTokensDefault.additionalColors).map(([key, val]) => (_jsxs(_Fragment, { children: [_jsx("h3", { id: key, children: key }), _jsx("div", { className: "color-item", children: _jsx(ColorItem, { title: "Primary", subtitle: "", colors: {
|
|
8
|
-
[`theme.custom.${key}[50]`]: val[50],
|
|
9
|
-
[`theme.custom.${key}[100]`]: val[100],
|
|
10
|
-
[`theme.custom.${key}[200]`]: val[200],
|
|
11
|
-
[`theme.custom.${key}[300]`]: val[300],
|
|
12
|
-
[`theme.custom.${key}[400]`]: val[400],
|
|
13
|
-
[`theme.custom.${key}[500]`]: val[500],
|
|
14
|
-
[`theme.custom.${key}[600]`]: val[600],
|
|
15
|
-
[`theme.custom.${key}[700]`]: val[700],
|
|
16
|
-
[`theme.custom.${key}[800]`]: val[800],
|
|
17
|
-
[`theme.custom.${key}[900]`]: val[900],
|
|
18
|
-
[`theme.custom.${key}[A100]`]: val.A100,
|
|
19
|
-
[`theme.custom.${key}[A200]`]: val.A200,
|
|
20
|
-
[`theme.custom.${key}[A400]`]: val.A400,
|
|
21
|
-
[`theme.custom.${key}[A700]`]: val.A700,
|
|
22
|
-
} }) })] }))) }));
|
|
23
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AdditionalColorTone } from '../../../tokens/legacyColors/Tone';
|
|
2
|
-
export type AdditionalColors = {
|
|
3
|
-
red: AdditionalColorTone;
|
|
4
|
-
pink: AdditionalColorTone;
|
|
5
|
-
purple: AdditionalColorTone;
|
|
6
|
-
deepPurple: AdditionalColorTone;
|
|
7
|
-
indigo: AdditionalColorTone;
|
|
8
|
-
blue: AdditionalColorTone;
|
|
9
|
-
lightBlue: AdditionalColorTone;
|
|
10
|
-
cyan: AdditionalColorTone;
|
|
11
|
-
teal: AdditionalColorTone;
|
|
12
|
-
green: AdditionalColorTone;
|
|
13
|
-
lightGreen: AdditionalColorTone;
|
|
14
|
-
lime: AdditionalColorTone;
|
|
15
|
-
yellow: AdditionalColorTone;
|
|
16
|
-
amber: AdditionalColorTone;
|
|
17
|
-
orange: AdditionalColorTone;
|
|
18
|
-
deepOrange: AdditionalColorTone;
|
|
19
|
-
brown: AdditionalColorTone;
|
|
20
|
-
};
|
|
21
|
-
export type AdditionalColorKey = keyof AdditionalColors;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
2
|
-
// MUI has additioinal color palette
|
|
3
|
-
// For now we just re-export it into the theme
|
|
4
|
-
// In case of customization these colors we will create new CustomColorTone and export it here
|
|
5
|
-
export * as additionalColors from '@mui/material/colors';
|
|
6
|
-
export * from './additionalColors';
|