-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
91 lines (90 loc) · 2.03 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
const production = !process.env.ROLLUP_WATCH;
module.exports = {
variants: {
extend: {
width: ["responsive", "hover", "focus"],
grid: ["responsive", "hover", "focus"],
gridTemplateColumns: ["responsive", "hover", "focus"],
},
},
theme: {
extend: {
animation: {
// spin for 1 second and stop
"spin-1s": "spin 1s linear infinite",
},
backgroundImage: {
"background-1": "url('../public/img/background-1.jpg')",
},
spacing: {
100: "30rem",
200: "40rem",
300: "50rem",
},
height: {
sm: "8px",
md: "16px",
lg: "24px",
xl: "480px",
"2xl": "700px",
},
width: {
sm: "8px",
md: "16px",
lg: "24px",
xl: "480px",
"2xl": "1250px",
},
colors: {
transparent: "transparent",
current: "currentColor",
teal: {
100: "#00e6e6",
200: "#00e6e6",
300: "#00d6d6",
400: "#00cccc",
500: "#00bdbd",
600: "#00b3b3",
700: "#00a3a3",
800: "#009999",
900: "#008a8a",
},
sienna: {
100: "#511C29",
200: "#4C1A27",
300: "#471A25",
400: "#3D151F",
500: "#2E1017",
},
palette: {
100: "#F9F8F8",
200: "#9D4E65",
300: "#872C47",
400: "#872C47",
500: "#831E3C",
600: "#831636",
700: "#6D0F2F",
800: "#41101F",
900: "#120307",
},
ranks: {
100: "#8f563f"
},
},
borderRadius: {
"4xl": "2rem",
"5xl": "2.5rem",
"6xl": "3rem",
},
},
},
future: {
purgeLayersByDefault: true,
removeDeprecatedGapUtilities: true,
},
plugins: [require('tw-elements/dist/plugin')],
purge: {
content: ["./src/App.svelte", './node_modules/tw-elements/dist/js/**/*.js'],
enabled: production, // disable purge in dev
},
};