-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.js
62 lines (59 loc) · 1.23 KB
/
theme.js
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
61
62
import { extendTheme } from "@chakra-ui/react";
const config = {
initialColorMode: "dark",
useSystemColorMode: false
};
const theme = extendTheme({
config,
colors: {
primaryRed: "#FD0943",
primaryNeon: "#8AFF2A"
},
components: {
Input: {
variants: {
filled: {
field: {
color: "primaryRed",
bg: "black",
borderRadius: 0,
padding: "16px",
_focus: {
bg: "black",
color: "primaryRed"
},
_hover: {
bg: "black",
color: "primaryRed"
},
_placeholder: {
color: "primaryNeon"
}
}
}
}
},
Textarea: {
variants: {
filled: {
borderRadius: 0,
color: [null, "primaryRed"],
bg: [null, "black"],
padding: "16px",
_hover: {
bg: [null, "black"],
color: [null, "primaryRed"]
},
_focus: {
bg: [null, "black"],
color: [null, "primaryRed"]
},
_placeholder: {
color: "primaryNeon"
}
}
}
}
}
});
export default theme;