-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.ts
37 lines (34 loc) · 870 Bytes
/
theme.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
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable import/no-anonymous-default-export */
import { extendTheme } from "@chakra-ui/react";
import { mode } from "@chakra-ui/theme-tools";
const styles = {
global: (props: Record<string, any>) => ({
body: {
backgroundColor: "red",
},
"*::placeholder": {
color: mode("gray.400", "whiteAlpha.400")(props),
},
"*, *::before, &::after": {
borderColor: mode("gray.200", "whiteAlpha.300")(props),
wordWrap: "break-word",
},
}),
colors: {
brand: {
green: "#41FF00",
green2: "#5bf870",
test: "red",
800: "#153e75",
700: "#2a69ac",
},
},
fonts: {
heading: "Avenir Next, sans-serif",
body: "VT323, monospace",
mono: "VT323, monospace",
},
};
const theme = extendTheme(styles);
export default theme;