-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
96 lines (95 loc) · 1.91 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
const { none } = require("ramda");
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
],
safelist: [
{
pattern: /swiper/,
},
],
theme: {
fontFamily: {
body: "Montserrat, sans-serif",
},
colors: {
transparent: "transparent",
body: "#000",
white: "#FFF",
error: {
DEFAULT: "#E73A2E",
},
primary: {
light: "#8ab3a0",
DEFAULT: "#006134",
dark: "#E59401",
hover: "#765821",
bg: "#bbd2c7",
},
secondary: {
light: "#ffd995",
DEFAULT: "#E73A2E",
dark: "#E59401",
hover: "#765821",
bg: "#f2f2f2",
},
blue: {
DEFAULT: "#1B6CFE",
},
gray: {
DEFAULT: "#9CA3AF",
dark: "#4B5563",
},
green: {
DEFAULT: "#1BFEAD",
},
overlay: {
DEFAULT: "#D1D5DB",
},
},
animation: {
spin: "spin .5s linear infinite",
},
extend: {
fontSize: {
footer: "16px",
base: "19px",
navlink: "30px",
navlinksm: "24px",
},
spacing: {
"5/100": "5%",
},
letterSpacing: {
1: "1px",
2: "2px",
4: "4px",
3: "3px",
},
typography: (theme) => ({
DEFAULT: {
css: [
{
p: {
fontSize: theme("fontSize.base"),
color: theme("colors.body"),
fontWeight: 300,
},
a: {
color: theme("colors.primary.DEFAULT"),
"&:hover": {
color: theme("colors.primary.hover"),
},
},
},
],
},
}),
},
},
variants: {
extend: {},
},
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")],
};