-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
78 lines (78 loc) · 2.08 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
accent: {
pink: "#ff55b3",
green: "#1df47f",
yellow: "#f8dc00",
cyan: "#19e9fe",
purple: "#a577fe",
},
purple: {
50: "#efeffe",
100: "#e2e2fd",
200: "#cdcbfa",
300: "#b0abf6",
400: "#9789f0",
500: "#886de7",
600: "#7a51da",
700: "#6a42c0",
800: "#56389b",
900: "#24193e",
950: "#1f1634",
},
},
borderRadius: {
"3xl": "2rem",
},
// Add small/large/dynamic viewport units
// https://medium.com/@dpoulton1/adding-large-small-and-dynamic-viewport-units-to-tailwind-css-8fb9105da11d
minHeight: {
"screen-svh": ["100vh", "100svh"],
"screen-lvh": ["100vh", "100lvh"],
"screen-dvh": ["100vh", "100dvh"],
},
height: {
"screen-svh": ["100vh", "100svh"],
"screen-lvh": ["100vh", "100lvh"],
"screen-dvh": ["100vh", "100dvh"],
},
maxHeight: {
"screen-svh": ["100vh", "100svh"],
"screen-lvh": ["100vh", "100lvh"],
"screen-dvh": ["100vh", "100dvh"],
},
minWidth: {
"screen-svw": ["100vw", "100svw"],
"screen-lvw": ["100vw", "100lvw"],
"screen-dvw": ["100vw", "100dvw"],
},
width: {
"screen-svw": ["100vw", "100svw"],
"screen-lvw": ["100vw", "100lvw"],
"screen-dvw": ["100vw", "100dvw"],
},
maxWidth: {
"screen-svw": ["100vw", "100svw"],
"screen-lvw": ["100vw", "100lvw"],
"screen-dvw": ["100vw", "100dvw"],
},
typography: () => ({
DEFAULT: {
css: {
pre: {
paddingTop: 0,
paddingInlineEnd: 0,
paddingBottom: 0,
paddingInlineStart: 0,
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};