-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.js
45 lines (42 loc) · 851 Bytes
/
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
const colors = require("tailwindcss/colors");
const fontFamilys = [
"system-ui",
"-apple-system",
"Helvetica Neue",
"Arial",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
];
const theme = {
colors: {
main: "gray",
secondary: "#5c6bc0",
transparent: "transparent",
current: "currentColor",
black: "#000",
white: "#fff",
gray: colors.trueGray,
red: colors.red,
blue: colors.sky,
yellow: colors.amber,
purple: colors.purple,
green: colors.green,
indigo: colors.indigo,
},
fontFamily: {
display: fontFamilys,
body: fontFamilys,
},
textColor: (theme) => theme("colors"),
backgroundColor: (theme) => ({
...theme("colors"),
primary: "#3490dc",
secondary: "#ffed4a",
danger: "#e3342f",
}),
};
module.exports = {
theme,
};