-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
75 lines (74 loc) · 1.61 KB
/
tailwind.config.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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
bg: {
DEFAULT: "#fffffe",
dark: "#16161a",
},
heading: {
// sub-heading, card-heading(dark also), card-paragraph = light mode
DEFAULT: "#2b2c34",
dark: "#fffffe",
},
para: {
DEFAULT: "#2b2c34",
dark: "#94a1b2", // sub-heading, card-paragraph = dark mode
},
btn: {
DEFAULT: "#6246ea",
dark: "#7f5af0",
},
btnText: {
DEFAULT: "#fffffe",
dark: "#fffffe",
},
cardBg: {
DEFAULT: "#d1d1e9",
dark: "#16161a",
},
error: {
DEFAULT: "#ff0033",
},
},
spacing: {
"9/10": "90%",
"1/10": "10%",
"5%": "5%",
"7.5%": "7.5%",
},
maxWidth: {
"9/10": "90%",
},
transitionProperty: {
display: "display",
},
},
screens: {
xs: "475px",
...defaultTheme.screens,
},
container: {
center: true,
padding: "2rem",
},
backgroundPosition: {
bottom: "bottom",
"bottom-4": "center bottom 4rem",
center: "center",
left: "left",
"left-bottom": "left bottom",
"left-top": "left top",
right: "right",
"right-bottom": "right bottom",
"right-top": "right top",
top: "top",
"top-4": "center top 1rem",
},
},
};