@webpros/mui-theme 0.1.5 → 0.2.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/dist/package.json +6 -4
- package/dist/src/components/data-display/Avatar/Avatar.theme.js +11 -8
- package/dist/src/components/data-display/Badge/Badge.theme.d.ts +4 -1
- package/dist/src/components/data-display/Badge/Badge.theme.js +216 -55
- package/dist/src/components/data-display/Chip/Chip.theme.d.ts +17 -3
- package/dist/src/components/data-display/Chip/Chip.theme.js +133 -477
- package/dist/src/components/data-display/Chip/get-chip-colors-map.d.ts +42 -0
- package/dist/src/components/data-display/Chip/get-chip-colors-map.js +253 -0
- package/dist/src/components/data-display/Divider/Divider.theme.d.ts +6 -1
- package/dist/src/components/data-display/Divider/Divider.theme.js +60 -3
- package/dist/src/components/data-display/List/List.theme.d.ts +1 -1
- package/dist/src/components/data-display/List/List.theme.js +1 -1
- package/dist/src/components/data-display/ListItem/ListItem.theme.d.ts +1 -1
- package/dist/src/components/data-display/ListItem/ListItem.theme.js +16 -8
- package/dist/src/components/data-display/ListItemAvatar/ListItemAvatar.theme.js +1 -2
- package/dist/src/components/data-display/ListItemButton/ListItemButton.theme.d.ts +0 -5
- package/dist/src/components/data-display/ListItemButton/ListItemButton.theme.js +14 -48
- package/dist/src/components/data-display/ListItemIcon/ListItemIcon.theme.js +4 -4
- package/dist/src/components/data-display/ListSubheader/ListSubheader.theme.d.ts +1 -1
- package/dist/src/components/data-display/ListSubheader/ListSubheader.theme.js +2 -5
- package/dist/src/components/data-display/Skeleton/Skeleton.d.ts +3 -0
- package/dist/src/components/data-display/Skeleton/Skeleton.js +4 -0
- package/dist/src/components/data-display/Skeleton/Skeleton.theme.d.ts +15 -0
- package/dist/src/components/data-display/Skeleton/Skeleton.theme.js +31 -0
- package/dist/src/components/data-display/Skeleton/index.d.ts +1 -0
- package/dist/src/components/data-display/Skeleton/index.js +2 -0
- package/dist/src/components/data-display/Tooltip/Tooltip.theme.js +7 -9
- package/dist/src/components/data-display/Typography/Typography.theme.d.ts +19 -26
- package/dist/src/components/data-display/Typography/Typography.theme.js +7 -163
- package/dist/src/components/feedback/Alert/Alert.theme.d.ts +12 -0
- package/dist/src/components/feedback/Alert/Alert.theme.js +60 -45
- package/dist/src/components/feedback/CircularProgress/CircularProgress.theme.d.ts +6 -1
- package/dist/src/components/feedback/CircularProgress/CircularProgress.theme.js +49 -8
- package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.d.ts +6 -1
- package/dist/src/components/feedback/LinearProgress/LinearProgress.theme.js +83 -9
- package/dist/src/components/feedback/Snackbar/Snackbar.theme.d.ts +4 -4
- package/dist/src/components/feedback/Snackbar/Snackbar.theme.js +7 -3
- package/dist/src/components/index.d.ts +10 -1
- package/dist/src/components/index.js +10 -1
- package/dist/src/components/inputs/Autocomplete/Autocomplete.theme.d.ts +1 -1
- package/dist/src/components/inputs/Autocomplete/Autocomplete.theme.js +23 -51
- package/dist/src/components/inputs/Autocomplete/components/AutocompleteCaretDownIcon.d.ts +1 -0
- package/dist/src/components/inputs/Autocomplete/components/{AutocompletePopupIcon.js → AutocompleteCaretDownIcon.js} +1 -1
- package/dist/src/components/inputs/Autocomplete/components/AutocompleteXIcon.d.ts +1 -0
- package/dist/src/components/inputs/Autocomplete/components/AutocompleteXIcon.js +4 -0
- package/dist/src/components/inputs/Button/Button.theme.d.ts +4 -0
- package/dist/src/components/inputs/Button/Button.theme.js +93 -226
- package/dist/src/components/inputs/Button/get-button-colors-map.d.ts +24 -0
- package/dist/src/components/inputs/Button/get-button-colors-map.js +211 -0
- package/dist/src/components/inputs/Checkbox/Checkbox.theme.d.ts +7 -2
- package/dist/src/components/inputs/Checkbox/Checkbox.theme.js +57 -7
- package/dist/src/components/inputs/Fab/Fab.theme.d.ts +5 -9
- package/dist/src/components/inputs/Fab/Fab.theme.js +27 -98
- package/dist/src/components/inputs/FormHelperText/FormHelperText.d.ts +2 -0
- package/dist/src/components/inputs/FormHelperText/FormHelperText.js +3 -0
- package/dist/src/components/inputs/FormHelperText/FormHelperText.theme.d.ts +7 -0
- package/dist/src/components/inputs/FormHelperText/FormHelperText.theme.js +8 -0
- package/dist/src/components/inputs/FormHelperText/index.d.ts +1 -0
- package/dist/src/components/inputs/FormHelperText/index.js +2 -0
- package/dist/src/components/inputs/FormLabel/FormLabel.d.ts +2 -0
- package/dist/src/components/inputs/FormLabel/FormLabel.js +3 -0
- package/dist/src/components/inputs/FormLabel/FormLabel.theme.d.ts +7 -0
- package/dist/src/components/inputs/FormLabel/FormLabel.theme.js +8 -0
- package/dist/src/components/inputs/FormLabel/index.d.ts +1 -0
- package/dist/src/components/inputs/FormLabel/index.js +2 -0
- package/dist/src/components/inputs/IconButton/IconButton.theme.d.ts +3 -2
- package/dist/src/components/inputs/IconButton/IconButton.theme.js +90 -95
- package/dist/src/components/inputs/InputBase/InputBase.theme.d.ts +9 -26
- package/dist/src/components/inputs/InputBase/InputBase.theme.js +2 -64
- package/dist/src/components/inputs/InputLabel/InputLabel.theme.d.ts +7 -4
- package/dist/src/components/inputs/InputLabel/InputLabel.theme.js +26 -12
- package/dist/src/components/inputs/OutlinedInput/OutlinedInput.theme.d.ts +8 -0
- package/dist/src/components/inputs/OutlinedInput/OutlinedInput.theme.js +67 -0
- package/dist/src/components/inputs/OutlinedInput/index.d.ts +1 -0
- package/dist/src/components/inputs/OutlinedInput/index.js +2 -0
- package/dist/src/components/inputs/Radio/Radio.d.ts +4 -0
- package/dist/src/components/inputs/Radio/Radio.js +4 -0
- package/dist/src/components/inputs/Radio/Radio.theme.d.ts +11 -0
- package/dist/src/components/inputs/Radio/Radio.theme.js +35 -0
- package/dist/src/components/inputs/Radio/index.d.ts +1 -0
- package/dist/src/components/{navigation/TabList → inputs/Radio}/index.js +1 -1
- package/dist/src/components/inputs/Select/Select.theme.d.ts +2 -3
- package/dist/src/components/inputs/Select/Select.theme.js +6 -33
- package/dist/src/components/inputs/Switch/Switch.theme.js +125 -49
- package/dist/src/components/inputs/TextField/TextField.theme.d.ts +2 -3
- package/dist/src/components/inputs/TextField/TextField.theme.js +2 -26
- package/dist/src/components/navigation/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/src/components/navigation/Breadcrumbs/Breadcrumbs.js +5 -0
- package/dist/src/components/navigation/Breadcrumbs/Breadcrumbs.theme.d.ts +11 -0
- package/dist/src/components/navigation/Breadcrumbs/Breadcrumbs.theme.js +23 -0
- package/dist/src/components/navigation/Breadcrumbs/Crumb.d.ts +10 -0
- package/dist/src/components/navigation/Breadcrumbs/Crumb.js +10 -0
- package/dist/src/components/navigation/Breadcrumbs/index.d.ts +1 -0
- package/dist/src/components/navigation/Breadcrumbs/index.js +2 -0
- package/dist/src/components/navigation/Drawer/Drawer.theme.d.ts +1 -1
- package/dist/src/components/navigation/Drawer/Drawer.theme.js +50 -6
- package/dist/src/components/navigation/Link/Link.theme.d.ts +11 -2
- package/dist/src/components/navigation/Link/Link.theme.js +66 -9
- package/dist/src/components/navigation/Menu/Menu.theme.d.ts +2 -3
- package/dist/src/components/navigation/Menu/Menu.theme.js +6 -11
- package/dist/src/components/navigation/MenuItem/MenuItem.theme.d.ts +2 -4
- package/dist/src/components/navigation/MenuItem/MenuItem.theme.js +8 -8
- package/dist/src/components/navigation/Pagination/Pagination.theme.d.ts +1 -1
- package/dist/src/components/navigation/Pagination/Pagination.theme.js +11 -3
- package/dist/src/components/navigation/PaginationItem/PaginationItem.theme.js +65 -10
- package/dist/src/components/navigation/PaginationItem/components/PaginationIcons.d.ts +4 -0
- package/dist/src/components/navigation/PaginationItem/components/PaginationIcons.js +8 -0
- package/dist/src/components/navigation/PaginationItem/components/index.d.ts +1 -0
- package/dist/src/components/navigation/PaginationItem/components/index.js +2 -0
- package/dist/src/components/navigation/Tab/Tab.theme.d.ts +7 -1
- package/dist/src/components/navigation/Tab/Tab.theme.js +52 -13
- package/dist/src/components/navigation/Tabs/Tabs.d.ts +3 -0
- package/dist/src/components/navigation/Tabs/Tabs.js +4 -0
- package/dist/src/components/navigation/Tabs/Tabs.theme.d.ts +16 -0
- package/dist/src/components/navigation/Tabs/Tabs.theme.js +55 -0
- package/dist/src/components/navigation/Tabs/index.d.ts +1 -0
- package/dist/src/components/navigation/Tabs/index.js +2 -0
- package/dist/src/components/surfaces/Accordion/Accordion.theme.js +54 -22
- package/dist/src/components/surfaces/Accordion/AccordionDetails.theme.d.ts +10 -0
- package/dist/src/components/surfaces/Accordion/AccordionDetails.theme.js +19 -0
- package/dist/src/components/surfaces/Accordion/AccordionSummary.theme.d.ts +10 -0
- package/dist/src/components/surfaces/Accordion/AccordionSummary.theme.js +37 -0
- package/dist/src/components/surfaces/Accordion/index.d.ts +2 -0
- package/dist/src/components/surfaces/Accordion/index.js +2 -0
- package/dist/src/components/surfaces/Card/Card.theme.js +1 -1
- package/dist/src/components/surfaces/Paper/Paper.theme.d.ts +16 -1
- package/dist/src/components/surfaces/Paper/Paper.theme.js +21 -7
- package/dist/src/components/surfaces/Paper/Paper.tokens.d.ts +8 -0
- package/dist/src/components/surfaces/Paper/Paper.tokens.js +50 -0
- package/dist/src/components/surfaces/Paper/Paper.variants.d.ts +4 -0
- package/dist/src/components/surfaces/Paper/Paper.variants.js +3 -0
- package/dist/src/components/surfaces/Popover/Popover.d.ts +4 -0
- package/dist/src/components/surfaces/Popover/Popover.js +4 -0
- package/dist/src/components/surfaces/Popover/Popover.theme.d.ts +9 -0
- package/dist/src/components/surfaces/Popover/Popover.theme.js +14 -0
- package/dist/src/components/surfaces/Popover/index.d.ts +1 -0
- package/dist/src/components/surfaces/Popover/index.js +2 -0
- package/dist/src/components/utils/Backdrop/Backdrop.d.ts +3 -0
- package/dist/src/components/utils/Backdrop/Backdrop.js +4 -0
- package/dist/src/components/utils/Backdrop/Backdrop.theme.d.ts +11 -0
- package/dist/src/components/utils/Backdrop/Backdrop.theme.js +17 -0
- package/dist/src/components/utils/Backdrop/index.d.ts +1 -0
- package/dist/src/components/utils/Backdrop/index.js +2 -0
- package/dist/src/providers/WebProsTheme.d.ts +1 -0
- package/dist/src/providers/WebProsTheme.js +11 -5
- package/dist/src/shared/rippleEnterKeyframe.d.ts +6 -0
- package/dist/src/shared/rippleEnterKeyframe.js +12 -0
- package/dist/src/shared/viewContext/index.d.ts +1 -0
- package/dist/src/shared/viewContext/index.js +2 -0
- package/dist/src/shared/viewContext/viewContext.d.ts +4 -0
- package/dist/src/shared/viewContext/viewContext.js +2 -0
- package/dist/src/style/additional-color-palette.d.ts +1 -3
- package/dist/src/style/additional-color-palette.js +3 -6
- package/dist/src/style/custom-color-palette.js +50 -52
- package/dist/src/tokens/ThemeColorTokens.d.ts +11 -93
- package/dist/src/tokens/ThemeColorTokens.js +4 -168
- package/dist/src/tokens/ThemeScheme.d.ts +0 -3
- package/dist/src/tokens/ThemeScheme.js +0 -2
- package/dist/src/tokens/colors/Dark.d.ts +16 -0
- package/dist/src/tokens/colors/Dark.js +1398 -0
- package/dist/src/tokens/colors/Light.d.ts +16 -0
- package/dist/src/tokens/colors/Light.js +1398 -0
- package/dist/src/tokens/colors/index.d.ts +7 -0
- package/dist/src/tokens/colors/index.js +4 -0
- package/dist/src/tokens/colors/inverseSchemas.d.ts +40 -0
- package/dist/src/tokens/colors/inverseSchemas.js +3 -0
- package/dist/src/tokens/colors/inverseSchemes.d.ts +53 -0
- package/dist/src/tokens/colors/inverseSchemes.js +3 -0
- package/dist/src/tokens/colors/inverseStateLayers.d.ts +174 -0
- package/dist/src/tokens/colors/inverseStateLayers.js +3 -0
- package/dist/src/tokens/colors/schemas.d.ts +111 -0
- package/dist/src/tokens/colors/schemas.js +3 -0
- package/dist/src/tokens/colors/schemes.d.ts +111 -0
- package/dist/src/tokens/colors/schemes.js +3 -0
- package/dist/src/tokens/colors/stateLayers.d.ts +456 -0
- package/dist/src/tokens/colors/stateLayers.js +3 -0
- package/dist/src/tokens/colors/types.d.ts +9 -0
- package/dist/src/tokens/colors/types.js +2 -0
- package/dist/src/tokens/index.d.ts +6 -2
- package/dist/src/tokens/index.js +2 -1
- package/dist/src/tokens/legacyColors/LegacyDark.d.ts +2 -0
- package/dist/src/tokens/legacyColors/LegacyDark.js +88 -0
- package/dist/src/tokens/legacyColors/LegacyLight.d.ts +2 -0
- package/dist/src/tokens/legacyColors/LegacyLight.js +86 -0
- package/dist/src/tokens/legacyColors/ThemeColorTokensLegacy.d.ts +74 -0
- package/dist/src/tokens/legacyColors/ThemeColorTokensLegacy.js +2 -0
- package/dist/src/tokens/legacyColors/additionalColors/additionalColors.d.ts +21 -0
- package/dist/src/tokens/legacyColors/additionalColors/additionalColors.js +2 -0
- package/dist/src/tokens/{additionalColors → legacyColors/additionalColors}/index.d.ts +1 -0
- package/dist/src/tokens/{additionalColors → legacyColors/additionalColors}/index.js +1 -0
- package/dist/src/tokens/legacyColors/index.d.ts +2 -0
- package/dist/src/tokens/legacyColors/index.js +3 -0
- package/dist/src/tokens/shadows/index.d.ts +12 -0
- package/dist/src/tokens/shadows/index.js +112 -0
- package/dist/src/tokens/typography/index.d.ts +2 -0
- package/dist/src/tokens/typography/index.js +4 -0
- package/dist/src/tokens/typography/typescale.d.ts +28 -0
- package/dist/src/tokens/typography/typescale.js +26 -0
- package/dist/src/tokens/typography/typography.d.ts +2 -0
- package/dist/src/tokens/typography/typography.js +156 -0
- package/dist/src/utils/flatten.d.ts +1 -0
- package/dist/src/utils/flatten.js +12 -0
- package/dist/src/utils/getMUIComponents.js +2 -2
- package/dist/src/utils/getMUIPalette.d.ts +4 -9
- package/dist/src/utils/getMUIPalette.js +49 -25
- package/dist/src/utils/getMUIThemeCustoimzationType.d.ts +31 -0
- package/dist/src/utils/getMUIThemeCustoimzationType.js +2 -0
- package/dist/src/utils/getMUITypography.d.ts +2 -0
- package/dist/src/utils/getMUITypography.js +5 -0
- package/dist/src/utils/getStateLayerColor.d.ts +37 -0
- package/dist/src/utils/getStateLayerColor.js +43 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/index.js +1 -1
- package/dist/src/utils/patchMUIShadows.js +4 -3
- package/package.json +6 -4
- package/dist/src/components/inputs/Autocomplete/components/AutocompletePopupIcon.d.ts +0 -1
- package/dist/src/components/navigation/PaginationItem/PaginationItem.d.ts +0 -3
- package/dist/src/components/navigation/PaginationItem/PaginationItem.js +0 -4
- package/dist/src/components/navigation/TabList/TabList.d.ts +0 -3
- package/dist/src/components/navigation/TabList/TabList.js +0 -4
- package/dist/src/components/navigation/TabList/TabList.theme.d.ts +0 -10
- package/dist/src/components/navigation/TabList/TabList.theme.js +0 -17
- package/dist/src/components/navigation/TabList/index.d.ts +0 -1
- package/dist/src/hooks/useTonalPalette.d.ts +0 -3
- package/dist/src/hooks/useTonalPalette.js +0 -32
- package/dist/src/providers/ThemeSchemeProvider.d.ts +0 -12
- package/dist/src/providers/ThemeSchemeProvider.js +0 -29
- package/dist/src/tokens/TonalPalette.d.ts +0 -10
- package/dist/src/tokens/TonalPalette.js +0 -10
- package/dist/src/utils/generateTokens.d.ts +0 -4
- package/dist/src/utils/generateTokens.js +0 -107
- /package/dist/src/tokens/{Tone.d.ts → legacyColors/Tone.d.ts} +0 -0
- /package/dist/src/tokens/{Tone.js → legacyColors/Tone.js} +0 -0
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import { RecursiveKeyOf, GeneratedRgba } from './types';
|
|
2
|
+
export type StateLayers = {
|
|
3
|
+
base: {
|
|
4
|
+
primary: {
|
|
5
|
+
opacity08: string;
|
|
6
|
+
opacity12: string;
|
|
7
|
+
opacity16: string;
|
|
8
|
+
opacity28: string;
|
|
9
|
+
opacity38: string;
|
|
10
|
+
opacity10: string;
|
|
11
|
+
opacity72: string;
|
|
12
|
+
};
|
|
13
|
+
onPrimary: {
|
|
14
|
+
opacity08: string;
|
|
15
|
+
opacity12: string;
|
|
16
|
+
opacity16: string;
|
|
17
|
+
opacity10: string;
|
|
18
|
+
opacity38: string;
|
|
19
|
+
opacity28: string;
|
|
20
|
+
};
|
|
21
|
+
primaryContainer: {
|
|
22
|
+
opacity08: string;
|
|
23
|
+
opacity12: string;
|
|
24
|
+
opacity16: string;
|
|
25
|
+
opacity10: string;
|
|
26
|
+
};
|
|
27
|
+
onPrimaryContainer: {
|
|
28
|
+
opacity08: string;
|
|
29
|
+
opacity12: string;
|
|
30
|
+
opacity16: string;
|
|
31
|
+
opacity20: string;
|
|
32
|
+
opacity10: string;
|
|
33
|
+
opacity38: string;
|
|
34
|
+
opacity28: string;
|
|
35
|
+
};
|
|
36
|
+
secondary: {
|
|
37
|
+
opacity08: string;
|
|
38
|
+
opacity12: string;
|
|
39
|
+
opacity16: string;
|
|
40
|
+
opacity28: string;
|
|
41
|
+
opacity48: string;
|
|
42
|
+
opacity10: string;
|
|
43
|
+
};
|
|
44
|
+
onSecondary: {
|
|
45
|
+
opacity08: string;
|
|
46
|
+
opacity12: string;
|
|
47
|
+
opacity16: string;
|
|
48
|
+
opacity10: string;
|
|
49
|
+
opacity28: string;
|
|
50
|
+
opacity38: string;
|
|
51
|
+
opacity20: string;
|
|
52
|
+
};
|
|
53
|
+
secondaryContainer: {
|
|
54
|
+
opacity08: string;
|
|
55
|
+
opacity12: string;
|
|
56
|
+
opacity16: string;
|
|
57
|
+
opacity10: string;
|
|
58
|
+
};
|
|
59
|
+
onSecondaryContainer: {
|
|
60
|
+
opacity08: string;
|
|
61
|
+
opacity12: string;
|
|
62
|
+
opacity16: string;
|
|
63
|
+
opacity20: string;
|
|
64
|
+
opacity10: string;
|
|
65
|
+
opacity28: string;
|
|
66
|
+
opacity38: string;
|
|
67
|
+
};
|
|
68
|
+
tertiary: {
|
|
69
|
+
opacity08: string;
|
|
70
|
+
opacity12: string;
|
|
71
|
+
opacity16: string;
|
|
72
|
+
opacity10: string;
|
|
73
|
+
};
|
|
74
|
+
onTertiary: {
|
|
75
|
+
opacity08: string;
|
|
76
|
+
opacity12: string;
|
|
77
|
+
opacity16: string;
|
|
78
|
+
opacity10: string;
|
|
79
|
+
opacity28: string;
|
|
80
|
+
opacity38: string;
|
|
81
|
+
opacity20: string;
|
|
82
|
+
};
|
|
83
|
+
tertiaryContainer: {
|
|
84
|
+
opacity08: string;
|
|
85
|
+
opacity12: string;
|
|
86
|
+
opacity16: string;
|
|
87
|
+
opacity10: string;
|
|
88
|
+
};
|
|
89
|
+
onTertiaryContainer: {
|
|
90
|
+
opacity08: string;
|
|
91
|
+
opacity12: string;
|
|
92
|
+
opacity16: string;
|
|
93
|
+
opacity10: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
fixed: {
|
|
97
|
+
primaryFixed: {
|
|
98
|
+
opacity08: string;
|
|
99
|
+
opacity12: string;
|
|
100
|
+
opacity16: string;
|
|
101
|
+
opacity10: string;
|
|
102
|
+
};
|
|
103
|
+
onPrimaryFixed: {
|
|
104
|
+
opacity08: string;
|
|
105
|
+
opacity12: string;
|
|
106
|
+
opacity16: string;
|
|
107
|
+
opacity10: string;
|
|
108
|
+
};
|
|
109
|
+
primaryFixedDim: {
|
|
110
|
+
opacity08: string;
|
|
111
|
+
opacity12: string;
|
|
112
|
+
opacity16: string;
|
|
113
|
+
opacity10: string;
|
|
114
|
+
};
|
|
115
|
+
onPrimaryFixedVariant: {
|
|
116
|
+
opacity08: string;
|
|
117
|
+
opacity12: string;
|
|
118
|
+
opacity16: string;
|
|
119
|
+
opacity10: string;
|
|
120
|
+
};
|
|
121
|
+
secondaryFixed: {
|
|
122
|
+
opacity08: string;
|
|
123
|
+
opacity12: string;
|
|
124
|
+
opacity16: string;
|
|
125
|
+
opacity10: string;
|
|
126
|
+
};
|
|
127
|
+
onSecondaryFixed: {
|
|
128
|
+
opacity08: string;
|
|
129
|
+
opacity12: string;
|
|
130
|
+
opacity16: string;
|
|
131
|
+
opacity10: string;
|
|
132
|
+
};
|
|
133
|
+
secondaryFixedDim: {
|
|
134
|
+
opacity08: string;
|
|
135
|
+
opacity12: string;
|
|
136
|
+
opacity16: string;
|
|
137
|
+
opacity10: string;
|
|
138
|
+
};
|
|
139
|
+
onSecondaryFixedVariant: {
|
|
140
|
+
opacity08: string;
|
|
141
|
+
opacity12: string;
|
|
142
|
+
opacity16: string;
|
|
143
|
+
opacity10: string;
|
|
144
|
+
};
|
|
145
|
+
tertiaryFixed: {
|
|
146
|
+
opacity08: string;
|
|
147
|
+
opacity12: string;
|
|
148
|
+
opacity16: string;
|
|
149
|
+
opacity10: string;
|
|
150
|
+
};
|
|
151
|
+
onTertiaryFixed: {
|
|
152
|
+
opacity08: string;
|
|
153
|
+
opacity12: string;
|
|
154
|
+
opacity16: string;
|
|
155
|
+
opacity10: string;
|
|
156
|
+
};
|
|
157
|
+
tertiaryFixedDim: {
|
|
158
|
+
opacity08: string;
|
|
159
|
+
opacity12: string;
|
|
160
|
+
opacity16: string;
|
|
161
|
+
opacity10: string;
|
|
162
|
+
};
|
|
163
|
+
onTertiaryFixedVariant: {
|
|
164
|
+
opacity08: string;
|
|
165
|
+
opacity12: string;
|
|
166
|
+
opacity16: string;
|
|
167
|
+
opacity10: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
status: {
|
|
171
|
+
error: {
|
|
172
|
+
opacity08: string;
|
|
173
|
+
opacity12: string;
|
|
174
|
+
opacity16: string;
|
|
175
|
+
opacity28: string;
|
|
176
|
+
opacity48: string;
|
|
177
|
+
opacity10: string;
|
|
178
|
+
};
|
|
179
|
+
onError: {
|
|
180
|
+
opacity08: string;
|
|
181
|
+
opacity12: string;
|
|
182
|
+
opacity16: string;
|
|
183
|
+
opacity10: string;
|
|
184
|
+
opacity38: string;
|
|
185
|
+
opacity28: string;
|
|
186
|
+
};
|
|
187
|
+
errorContainer: {
|
|
188
|
+
opacity08: string;
|
|
189
|
+
opacity12: string;
|
|
190
|
+
opacity16: string;
|
|
191
|
+
opacity10: string;
|
|
192
|
+
};
|
|
193
|
+
onErrorContainer: {
|
|
194
|
+
opacity08: string;
|
|
195
|
+
opacity12: string;
|
|
196
|
+
opacity16: string;
|
|
197
|
+
opacity20: string;
|
|
198
|
+
opacity10: string;
|
|
199
|
+
opacity38: string;
|
|
200
|
+
opacity28: string;
|
|
201
|
+
};
|
|
202
|
+
warning: {
|
|
203
|
+
opacity08: string;
|
|
204
|
+
opacity12: string;
|
|
205
|
+
opacity16: string;
|
|
206
|
+
opacity28: string;
|
|
207
|
+
opacity48: string;
|
|
208
|
+
};
|
|
209
|
+
info: {
|
|
210
|
+
opacity08: string;
|
|
211
|
+
opacity12: string;
|
|
212
|
+
opacity16: string;
|
|
213
|
+
opacity28: string;
|
|
214
|
+
opacity48: string;
|
|
215
|
+
};
|
|
216
|
+
success: {
|
|
217
|
+
opacity08: string;
|
|
218
|
+
opacity12: string;
|
|
219
|
+
opacity16: string;
|
|
220
|
+
opacity28: string;
|
|
221
|
+
opacity48: string;
|
|
222
|
+
};
|
|
223
|
+
onWarning: {
|
|
224
|
+
opacity08: string;
|
|
225
|
+
opacity12: string;
|
|
226
|
+
opacity16: string;
|
|
227
|
+
opacity38: string;
|
|
228
|
+
};
|
|
229
|
+
onSuccess: {
|
|
230
|
+
opacity08: string;
|
|
231
|
+
opacity12: string;
|
|
232
|
+
opacity16: string;
|
|
233
|
+
opacity38: string;
|
|
234
|
+
opacity28: string;
|
|
235
|
+
};
|
|
236
|
+
onInfo: {
|
|
237
|
+
opacity08: string;
|
|
238
|
+
opacity12: string;
|
|
239
|
+
opacity16: string;
|
|
240
|
+
opacity38: string;
|
|
241
|
+
opacity28: string;
|
|
242
|
+
};
|
|
243
|
+
onSuccessContainer: {
|
|
244
|
+
opacity08: string;
|
|
245
|
+
opacity12: string;
|
|
246
|
+
opacity16: string;
|
|
247
|
+
opacity20: string;
|
|
248
|
+
opacity38: string;
|
|
249
|
+
opacity28: string;
|
|
250
|
+
};
|
|
251
|
+
onWarningContainer: {
|
|
252
|
+
opacity08: string;
|
|
253
|
+
opacity12: string;
|
|
254
|
+
opacity16: string;
|
|
255
|
+
opacity20: string;
|
|
256
|
+
opacity38: string;
|
|
257
|
+
opacity28: string;
|
|
258
|
+
};
|
|
259
|
+
onInfoContainer: {
|
|
260
|
+
opacity08: string;
|
|
261
|
+
opacity12: string;
|
|
262
|
+
opacity16: string;
|
|
263
|
+
opacity20: string;
|
|
264
|
+
opacity38: string;
|
|
265
|
+
opacity28: string;
|
|
266
|
+
};
|
|
267
|
+
onUndefined: {
|
|
268
|
+
opacity08: string;
|
|
269
|
+
opacity12: string;
|
|
270
|
+
opacity16: string;
|
|
271
|
+
opacity38: string;
|
|
272
|
+
opacity28: string;
|
|
273
|
+
};
|
|
274
|
+
onUndefinedContainer: {
|
|
275
|
+
opacity08: string;
|
|
276
|
+
opacity12: string;
|
|
277
|
+
opacity16: string;
|
|
278
|
+
opacity20: string;
|
|
279
|
+
opacity38: string;
|
|
280
|
+
opacity28: string;
|
|
281
|
+
};
|
|
282
|
+
undefined: {
|
|
283
|
+
opacity08: string;
|
|
284
|
+
opacity12: string;
|
|
285
|
+
opacity16: string;
|
|
286
|
+
opacity28: string;
|
|
287
|
+
opacity48: string;
|
|
288
|
+
};
|
|
289
|
+
warningContainer: {
|
|
290
|
+
opacity08: string;
|
|
291
|
+
opacity12: string;
|
|
292
|
+
opacity16: string;
|
|
293
|
+
};
|
|
294
|
+
successContainer: {
|
|
295
|
+
opacity08: string;
|
|
296
|
+
opacity12: string;
|
|
297
|
+
opacity16: string;
|
|
298
|
+
};
|
|
299
|
+
infoContainer: {
|
|
300
|
+
opacity08: string;
|
|
301
|
+
opacity12: string;
|
|
302
|
+
opacity16: string;
|
|
303
|
+
opacity38: string;
|
|
304
|
+
};
|
|
305
|
+
undefinedContainer: {
|
|
306
|
+
opacity08: string;
|
|
307
|
+
opacity12: string;
|
|
308
|
+
opacity16: string;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
surfaces: {
|
|
312
|
+
outline: {
|
|
313
|
+
opacity08: string;
|
|
314
|
+
opacity12: string;
|
|
315
|
+
opacity16: string;
|
|
316
|
+
opacity48: string;
|
|
317
|
+
opacity10: string;
|
|
318
|
+
};
|
|
319
|
+
background: {
|
|
320
|
+
opacity08: string;
|
|
321
|
+
opacity12: string;
|
|
322
|
+
opacity16: string;
|
|
323
|
+
opacity28: string;
|
|
324
|
+
opacity48: string;
|
|
325
|
+
opacity10: string;
|
|
326
|
+
};
|
|
327
|
+
onBackground: {
|
|
328
|
+
opacity08: string;
|
|
329
|
+
opacity12: string;
|
|
330
|
+
opacity16: string;
|
|
331
|
+
opacity28: string;
|
|
332
|
+
opacity48: string;
|
|
333
|
+
opacity10: string;
|
|
334
|
+
};
|
|
335
|
+
surface: {
|
|
336
|
+
opacity08: string;
|
|
337
|
+
opacity12: string;
|
|
338
|
+
opacity16: string;
|
|
339
|
+
opacity10: string;
|
|
340
|
+
};
|
|
341
|
+
onSurface: {
|
|
342
|
+
opacity08: string;
|
|
343
|
+
opacity12: string;
|
|
344
|
+
opacity16: string;
|
|
345
|
+
opacity48: string;
|
|
346
|
+
opacity28: string;
|
|
347
|
+
opacity06: string;
|
|
348
|
+
opacity38: string;
|
|
349
|
+
opacity10: string;
|
|
350
|
+
opacity20: string;
|
|
351
|
+
};
|
|
352
|
+
surfaceVariant: {
|
|
353
|
+
opacity08: string;
|
|
354
|
+
opacity12: string;
|
|
355
|
+
opacity16: string;
|
|
356
|
+
opacity10: string;
|
|
357
|
+
};
|
|
358
|
+
onSurfaceVariant: {
|
|
359
|
+
opacity08: string;
|
|
360
|
+
opacity12: string;
|
|
361
|
+
opacity16: string;
|
|
362
|
+
opacity38: string;
|
|
363
|
+
opacity10: string;
|
|
364
|
+
};
|
|
365
|
+
shadow: {
|
|
366
|
+
opacity08: string;
|
|
367
|
+
opacity12: string;
|
|
368
|
+
opacity16: string;
|
|
369
|
+
opacity10: string;
|
|
370
|
+
};
|
|
371
|
+
surfaceTint: {
|
|
372
|
+
opacity08: string;
|
|
373
|
+
opacity12: string;
|
|
374
|
+
opacity16: string;
|
|
375
|
+
opacity10: string;
|
|
376
|
+
};
|
|
377
|
+
scrim: {
|
|
378
|
+
opacity08: string;
|
|
379
|
+
opacity12: string;
|
|
380
|
+
opacity16: string;
|
|
381
|
+
opacity48: string;
|
|
382
|
+
opacity10: string;
|
|
383
|
+
};
|
|
384
|
+
surfaceContainerHighest: {
|
|
385
|
+
opacity08: string;
|
|
386
|
+
opacity12: string;
|
|
387
|
+
opacity16: string;
|
|
388
|
+
opacity10: string;
|
|
389
|
+
};
|
|
390
|
+
surfaceContainerHigh: {
|
|
391
|
+
opacity08: string;
|
|
392
|
+
opacity12: string;
|
|
393
|
+
opacity16: string;
|
|
394
|
+
opacity10: string;
|
|
395
|
+
};
|
|
396
|
+
surfaceContainer: {
|
|
397
|
+
opacity08: string;
|
|
398
|
+
opacity12: string;
|
|
399
|
+
opacity16: string;
|
|
400
|
+
opacity10: string;
|
|
401
|
+
};
|
|
402
|
+
surfaceContainerLow: {
|
|
403
|
+
opacity08: string;
|
|
404
|
+
opacity12: string;
|
|
405
|
+
opacity16: string;
|
|
406
|
+
opacity10: string;
|
|
407
|
+
};
|
|
408
|
+
surfaceContainerLowest: {
|
|
409
|
+
opacity08: string;
|
|
410
|
+
opacity12: string;
|
|
411
|
+
opacity16: string;
|
|
412
|
+
opacity10: string;
|
|
413
|
+
opacity86: string;
|
|
414
|
+
};
|
|
415
|
+
surfaceBright: {
|
|
416
|
+
opacity08: string;
|
|
417
|
+
opacity12: string;
|
|
418
|
+
opacity16: string;
|
|
419
|
+
opacity10: string;
|
|
420
|
+
};
|
|
421
|
+
surfaceDim: {
|
|
422
|
+
opacity08: string;
|
|
423
|
+
opacity12: string;
|
|
424
|
+
opacity16: string;
|
|
425
|
+
opacity10: string;
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
stateLayers: {
|
|
429
|
+
basePrimary: {
|
|
430
|
+
opacity08: string;
|
|
431
|
+
opacity12: string;
|
|
432
|
+
opacity16: string;
|
|
433
|
+
opacity64: string;
|
|
434
|
+
};
|
|
435
|
+
surfacesOnSurface: {
|
|
436
|
+
opacity08: string;
|
|
437
|
+
opacity12: string;
|
|
438
|
+
opacity16: string;
|
|
439
|
+
opacity28: string;
|
|
440
|
+
opacity38: string;
|
|
441
|
+
opacity48: string;
|
|
442
|
+
opacity64: string;
|
|
443
|
+
opacity10: string;
|
|
444
|
+
};
|
|
445
|
+
surfacesOnSurfaceVariant: {
|
|
446
|
+
opacity08: string;
|
|
447
|
+
opacity12: string;
|
|
448
|
+
opacity16: string;
|
|
449
|
+
opacity28: string;
|
|
450
|
+
opacity48: string;
|
|
451
|
+
opacity64: string;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
export type StateLayersKey = `stateLayers.${RecursiveKeyOf<StateLayers>}`;
|
|
456
|
+
export type StateLayersGenerated = Record<StateLayersKey, GeneratedRgba>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type GeneratedRgba = {
|
|
2
|
+
r: number;
|
|
3
|
+
g: number;
|
|
4
|
+
b: number;
|
|
5
|
+
a: number;
|
|
6
|
+
};
|
|
7
|
+
export type RecursiveKeyOf<T> = T extends object ? T extends readonly unknown[] ? RecursiveKeyOf<T[number]> : {
|
|
8
|
+
[K in keyof T]: T[K] extends string ? K extends string ? K extends `${string}GeneratedRgba` ? never : K : never : T[K] extends object ? T[K] extends readonly unknown[] ? never : K extends string ? `${K}.${RecursiveKeyOf<T[K]>}` : never : never;
|
|
9
|
+
}[keyof T] : never;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export type { AdditionalColorKey } from './
|
|
2
|
-
export type { AdditionalColorTone } from './Tone';
|
|
1
|
+
export type { AdditionalColorKey } from './legacyColors/additionalColors';
|
|
2
|
+
export type { AdditionalColorTone } from './legacyColors/Tone';
|
|
3
|
+
export type { TypescaleTypographyVariants } from './typography';
|
|
4
|
+
export { typographyVariants } from './typography';
|
|
5
|
+
export type { M3ShadowLayer, M3ShadowTokenName, M3ShadowTokens } from './shadows';
|
|
6
|
+
export { muiShadows, shadowCssValues, shadowTokens } from './shadows';
|
package/dist/src/tokens/index.js
CHANGED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
2
|
+
import { additionalColors } from '../../tokens/legacyColors/additionalColors';
|
|
3
|
+
// reference
|
|
4
|
+
// https://www.figma.com/design/RPLeGa2LdhKElQQ0xIXtSh/WebPros-dashboard?node-id=53699-35493&t=pvKyGGnGRUL3kYn8-1
|
|
5
|
+
export const LegacyDarkTokensDefault = {
|
|
6
|
+
primary: '#B09BEF',
|
|
7
|
+
onPrimary: '#19132D',
|
|
8
|
+
primaryContainer: '#4E388E',
|
|
9
|
+
onPrimaryContainer: '#F9F7FF',
|
|
10
|
+
secondary: '#9497AC',
|
|
11
|
+
onSecondary: '#23242A',
|
|
12
|
+
secondaryContainer: '#464854',
|
|
13
|
+
onSecondaryContainer: '#EDEEF1',
|
|
14
|
+
tertiary: '#8FAAB6',
|
|
15
|
+
onTertiary: '#3B4347',
|
|
16
|
+
tertiaryContainer: '#325261',
|
|
17
|
+
onTertiaryContainer: '#EDF0F1',
|
|
18
|
+
error: '#FA7A9A',
|
|
19
|
+
onError: '#68182C',
|
|
20
|
+
errorContainer: '#8C3148',
|
|
21
|
+
onErrorContainer: '#FFF2F5',
|
|
22
|
+
errorFixedDim: '#EF5350',
|
|
23
|
+
primaryFixed: '#E7DFFF',
|
|
24
|
+
primaryFixedDim: '#D0C0FF',
|
|
25
|
+
onPrimaryFixed: '#281C4C',
|
|
26
|
+
onPrimaryFixedVariant: '#4F4178',
|
|
27
|
+
secondaryFixed: '#E4E5F0',
|
|
28
|
+
secondaryFixedDim: '#C8CBD9',
|
|
29
|
+
onSecondaryFixed: '#1A1C2C',
|
|
30
|
+
onSecondaryFixedVariant: '#454859',
|
|
31
|
+
tertiaryFixed: '#D6E7EF',
|
|
32
|
+
tertiaryFixedDim: '#B9DAEA',
|
|
33
|
+
onTertiaryFixed: '#11262F',
|
|
34
|
+
onTertiaryFixedVariant: '#3C5560',
|
|
35
|
+
surface: '#222326',
|
|
36
|
+
onSurface: '#E5E7F3',
|
|
37
|
+
surfaceDim: '#131418',
|
|
38
|
+
surfaceBright: '#38393F',
|
|
39
|
+
surfaceContainerLowest: '#31323A',
|
|
40
|
+
surfaceContainerLow: '#25262C',
|
|
41
|
+
surfaceContainer: '#202126',
|
|
42
|
+
surfaceContainerHigh: '#1A1B20',
|
|
43
|
+
surfaceContainerHighest: '#16171A',
|
|
44
|
+
surfaceVariant: '#2B2C31',
|
|
45
|
+
onSurfaceVariant: '#AFB3C5',
|
|
46
|
+
outline: '#7F8293',
|
|
47
|
+
outlineVariant: '#454652',
|
|
48
|
+
inverseSurface: '#D9DBE4',
|
|
49
|
+
inverseOnSurface: '#222326',
|
|
50
|
+
inversePrimary: '#644EA5',
|
|
51
|
+
shadow: '#000000',
|
|
52
|
+
scrim: '#000000',
|
|
53
|
+
surfaceTint: '#9E8DD3',
|
|
54
|
+
background: '#151517',
|
|
55
|
+
onBackground: '#E2E4EE',
|
|
56
|
+
// custom colors
|
|
57
|
+
info: '#5696CE',
|
|
58
|
+
onInfo: '#0A253A',
|
|
59
|
+
infoContainer: '#124771',
|
|
60
|
+
onInfoContainer: '#E0ECF6',
|
|
61
|
+
infoFixedDim: '#03A9F4',
|
|
62
|
+
// ok
|
|
63
|
+
success: '#6EBB72',
|
|
64
|
+
onSuccess: '#0C440F',
|
|
65
|
+
successContainer: '#125F16',
|
|
66
|
+
onSuccessContainer: '#F1FDF1',
|
|
67
|
+
successFixedDim: '#4CAF50',
|
|
68
|
+
warning: '#DC8A4F',
|
|
69
|
+
onWarning: '#4E2305',
|
|
70
|
+
warningContainer: '#7B3C0F',
|
|
71
|
+
onWarningContainer: '#FAF0E9',
|
|
72
|
+
warningFixedDim: '#FF9800',
|
|
73
|
+
// ok
|
|
74
|
+
undefined: '#9BABB3',
|
|
75
|
+
onUndefined: '#2A3438',
|
|
76
|
+
undefinedContainer: '#3D464D',
|
|
77
|
+
onUndefinedContainer: '#E4EBF0',
|
|
78
|
+
supportive: '#8FAAB6',
|
|
79
|
+
// Custom accent colors matching with the theme.
|
|
80
|
+
// Should not be used in MUI components directly (i.e. for setting background/text somewhere) inside customization.
|
|
81
|
+
// Only for outer usage
|
|
82
|
+
// reference -
|
|
83
|
+
// Charts
|
|
84
|
+
// https://www.figma.com/design/RPLeGa2LdhKElQQ0xIXtSh/WebPros-dashboard?node-id=7648-60043&t=DhlQVfQGF7gEbkuU-0
|
|
85
|
+
// Colors
|
|
86
|
+
// https://www.figma.com/design/RPLeGa2LdhKElQQ0xIXtSh/WebPros-dashboard?node-id=7648-60043&t=DhlQVfQGF7gEbkuU-0
|
|
87
|
+
additionalColors,
|
|
88
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
2
|
+
import { additionalColors } from '../../tokens/legacyColors/additionalColors';
|
|
3
|
+
// reference
|
|
4
|
+
// https://www.figma.com/design/RPLeGa2LdhKElQQ0xIXtSh/WebPros-dashboard?node-id=53699-35493&t=pvKyGGnGRUL3kYn8-1
|
|
5
|
+
export const LegacyLightTokensDefault = {
|
|
6
|
+
primary: '#4527A0',
|
|
7
|
+
onPrimary: '#FFFFFF',
|
|
8
|
+
primaryContainer: '#E2DFFF',
|
|
9
|
+
onPrimaryContainer: '#1E1A69',
|
|
10
|
+
secondary: '#5F6690',
|
|
11
|
+
onSecondary: '#FFFFFF',
|
|
12
|
+
secondaryContainer: '#D3D5E3',
|
|
13
|
+
onSecondaryContainer: '#282B40',
|
|
14
|
+
tertiary: '#546E7A',
|
|
15
|
+
onTertiary: '#FFFFFF',
|
|
16
|
+
tertiaryContainer: '#DAE9F0',
|
|
17
|
+
onTertiaryContainer: '#11262F',
|
|
18
|
+
error: '#BA1A1A',
|
|
19
|
+
onError: '#FFFFFF',
|
|
20
|
+
errorContainer: '#FFDAD6',
|
|
21
|
+
onErrorContainer: '#940E0F',
|
|
22
|
+
errorFixedDim: '#EF5350',
|
|
23
|
+
primaryFixed: '#E7DFFF',
|
|
24
|
+
primaryFixedDim: '#D0C0FF',
|
|
25
|
+
onPrimaryFixed: '#281C4C',
|
|
26
|
+
onPrimaryFixedVariant: '#4F4178',
|
|
27
|
+
secondaryFixed: '#E4E5F0',
|
|
28
|
+
secondaryFixedDim: '#C8CBD9',
|
|
29
|
+
onSecondaryFixed: '#1A1C2C',
|
|
30
|
+
onSecondaryFixedVariant: '#454859',
|
|
31
|
+
tertiaryFixed: '#D6E7EF',
|
|
32
|
+
tertiaryFixedDim: '#B9DAEA',
|
|
33
|
+
onTertiaryFixed: '#11262F',
|
|
34
|
+
onTertiaryFixedVariant: '#3C5560',
|
|
35
|
+
surface: '#F2F3FA',
|
|
36
|
+
onSurface: '#1B1C21',
|
|
37
|
+
surfaceDim: '#CED0E0',
|
|
38
|
+
surfaceBright: '#EDF0FF',
|
|
39
|
+
surfaceContainerLowest: '#FFFFFF',
|
|
40
|
+
surfaceContainerLow: '#E7E9F4',
|
|
41
|
+
surfaceContainer: '#E4E5F0',
|
|
42
|
+
surfaceContainerHigh: '#FFFFFF',
|
|
43
|
+
surfaceContainerHighest: '#DDDFED',
|
|
44
|
+
surfaceVariant: '#E4E6F0',
|
|
45
|
+
onSurfaceVariant: '#505263',
|
|
46
|
+
outline: '#8C8E96',
|
|
47
|
+
outlineVariant: '#EEEEF1',
|
|
48
|
+
inverseSurface: '#313036',
|
|
49
|
+
inverseOnSurface: '#F3EFF7',
|
|
50
|
+
inversePrimary: '#D0C0FF',
|
|
51
|
+
shadow: '#000000',
|
|
52
|
+
scrim: '#000000',
|
|
53
|
+
surfaceTint: '#5D4D8D',
|
|
54
|
+
background: '#E9EBF6',
|
|
55
|
+
onBackground: '#1B1C21',
|
|
56
|
+
// custom colors
|
|
57
|
+
info: '#0373CE',
|
|
58
|
+
onInfo: '#FFFFFF',
|
|
59
|
+
infoContainer: '#C8E8FF',
|
|
60
|
+
onInfoContainer: '#094A94',
|
|
61
|
+
infoFixedDim: '#03A9F4',
|
|
62
|
+
success: '#2D8731',
|
|
63
|
+
onSuccess: '#FFFFFF',
|
|
64
|
+
successContainer: '#CAEFCD',
|
|
65
|
+
onSuccessContainer: '#0F5C13',
|
|
66
|
+
successFixedDim: '#4CAF50',
|
|
67
|
+
warning: '#C75300',
|
|
68
|
+
onWarning: '#FFFFFF',
|
|
69
|
+
warningContainer: '#FFE0B2',
|
|
70
|
+
onWarningContainer: '#892303',
|
|
71
|
+
warningFixedDim: '#FF9800',
|
|
72
|
+
undefined: '#90A4AE',
|
|
73
|
+
onUndefined: '#FFFFFF',
|
|
74
|
+
undefinedContainer: '#DFE2E4',
|
|
75
|
+
onUndefinedContainer: '#263238',
|
|
76
|
+
supportive: '#546E7A',
|
|
77
|
+
// Custom accent colors matching with the theme.
|
|
78
|
+
// Should not be used in MUI components directly (i.e. for setting background/text somewhere) inside customization.
|
|
79
|
+
// Only for outer usage
|
|
80
|
+
// reference -
|
|
81
|
+
// Charts
|
|
82
|
+
// https://www.figma.com/design/RPLeGa2LdhKElQQ0xIXtSh/WebPros-dashboard?node-id=7648-60043&t=DhlQVfQGF7gEbkuU-0
|
|
83
|
+
// Colors
|
|
84
|
+
// https://www.figma.com/design/RPLeGa2LdhKElQQ0xIXtSh/WebPros-dashboard?node-id=7648-60043&t=DhlQVfQGF7gEbkuU-0
|
|
85
|
+
additionalColors,
|
|
86
|
+
};
|