-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.cjs
78 lines (73 loc) · 2.01 KB
/
tailwind.config.cjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
const config = {
content: ["./src/**/*.{html,js,svelte,ts}"],
darkMode: "class",
theme: {
extend: {
colors: {
explicit: {
white: "var(--white)",
black: "var(--black)",
"white-light": "var(--white-light)",
"grey-slight": "var(--grey-slight)",
},
nav: "var(--nav)",
highlight: "var(--highlight)",
important: "var(--important)",
body: "var(--body)",
sub: "var(--sub)",
bg: "var(--bg)",
box: "var(--box)",
rose: "var(--headlinerose)",
paragraph: "var(--paragraph)",
blue: "var(--blue)",
headlines: "var(--headlines)",
},
boxShadow: {
"hover-default": "var(--shadow-hover-default)",
default: "var(--shadow-default)",
},
transitionDelay: {
50: "50ms",
},
backgroundImage: {
primary: "var(--gradient-primary)",
stroke: "var(--gradient-stroke)",
404: "var(--gradient-404)",
},
spacing: {
"xxx-large": "var(--xxx-large)",
"xx-large": "var(--xx-large)",
"x-large": "var(--x-large)",
large: "var(--large)",
medium: "var(--medium)",
small: "var(--small)",
"x-small": "var(--x-small)",
"xx-small": "var(--xx-small)",
},
fontFamily: {
sans: ["Manrope", ...defaultTheme.fontFamily.sans],
},
fontSize: {
h1: "var(--h1)",
h2: "var(--h2)",
h3: "var(--h3)",
h4: "var(--h4)",
"p-x-large": "var(--p-x-large)",
"p-large": "var(--p-large)",
"p-medium": "var(--p-medium)",
"p-small": "var(--p-small)",
inter: [
"var(--p-large)",
{
lineHeight: "1.625rem",
letterSpacing: "0.2em",
},
],
main: ["18px", { lineHeight: "1.688rem" }],
},
},
},
plugins: [require("@tailwindcss/forms")],
};
module.exports = config;