-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme2.js
118 lines (118 loc) · 2.42 KB
/
theme2.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
const BR_DARK_THEME = {
// Standard HTML Elements
LOAD_FONTS: [
{
type: "google",
linkCode:
'<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600;800&display=swap" rel="stylesheet">',
},
{
type: "raw",
url:
"https://fonts.gstatic.com/s/poppins/v12/pxiByp8kv8JHgFVrLFj_Z1xlFd2JQEk.woff2",
fontFamily: "Poppins",
fontWeight: "200",
},
],
BODY: {
NORMAL: {
backgroundColor: "#00070f",
color: "white",
fontFamily: "Poppins",
transition: ".15s",
},
},
BUTTON: {
NORMAL: {
fontSize: "1em",
backgroundColor: "#ffbd38",
border: "none",
padding: "1em 1.5em",
fontWeight: "600",
cursor: "pointer",
fontFamily: "Montserrat",
color: "white",
transition: ".3s",
borderRadius: ".2em",
},
HOVERING: {
backgroundColor: "#e6aa32",
color: "white",
},
PRESSING: {
backgroundColor: "#bd881e",
color: "white",
},
},
P: {
NORMAL: {
lineHeight: "1.4em",
transition: ".3s",
},
},
LI: {
NORMAL: {
margin: ".7em 0",
fontSize: "1.1em",
},
},
A: {
NORMAL: {
color: "#fcbe03",
},
HOVERING: {
color: "#fc8403",
},
},
TABLE: {
NORMAL: {
borderCollapse: "collapse",
overflowX: "auto",
},
},
TH: {
NORMAL: {
border: "1px solid rgba(255,255,255,.1)",
padding: ".6em 1em",
backgroundColor: "transparent",
},
HOVERING: {
backgroundColor: "rgba(255,255,255,0.03)",
},
},
TD: {
NORMAL: {
border: "1px solid rgba(255,255,255,.07)",
padding: ".6em 1em",
textAlign: "center",
backgroundColor: "transparent",
},
HOVERING: {
backgroundColor: "rgba(255,255,255,0.03)",
},
},
INPUT: {
NORMAL: {
border: "1px solid rgba(255,255,255,.1)",
padding: ".4em 1em",
fontSize: "1.2em",
borderRadius: ".2em",
backgroundColor: "transparent",
color: "White",
},
},
// Create your own elements
CARD: {
NORMAL: {
opacity: "1",
borderRadius: ".5em",
marginTop: ".4em",
overflow: "hidden",
display: "block",
border: "1px solid rgba(255,255,255,0.05)",
backgroundColor: "rgba(255,255,255,.01)",
boxShadow: "0px 1px 3px rgba(255,255,255,0.04)",
padding: "1.5em",
},
},
};