forked from kriasoft/react-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpalettes.ts
60 lines (48 loc) · 1012 Bytes
/
palettes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* SPDX-FileCopyrightText: 2014-present Kriasoft */
/* SPDX-License-Identifier: MIT */
import { type PaletteOptions } from "@mui/material/styles";
export const light: PaletteOptions = {
mode: "light",
primary: {
main: "rgb(24,119,242)",
},
background: {
default: "rgb(240,242,245)",
},
example: {
primary: "#49b4ff",
secondary: "#ef3054",
},
};
export const dark: PaletteOptions = {
mode: "dark",
primary: {
main: "rgb(45,136,255)",
},
background: {
default: "rgb(24,25,26)",
},
example: {
primary: "#49b4ff",
secondary: "#ef3054",
},
};
export default { light, dark };
/**
* Append custom variables to the palette object.
* https://mui.com/material-ui/customization/theming/#custom-variables
*/
declare module "@mui/material/styles" {
interface Palette {
example: {
primary: string;
secondary: string;
};
}
interface PaletteOptions {
example: {
primary: string;
secondary: string;
};
}
}