forked from passportxyz/passport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
79 lines (77 loc) · 2.72 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
module.exports = {
content: ["./pages/**/*.{ts,tsx}", "./config/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./pages/_app.tsx"],
theme: {
screens: {
md: "480px",
lg: "1020px",
xl: "1280px",
},
extend: {
colors: {
background: "rgb(var(--color-background) / <alpha-value>)",
"background-1": "rgb(var(--color-background-1) / <alpha-value>)",
"background-2": "rgb(var(--color-background-2) / <alpha-value>)",
"background-3": "rgb(var(--color-background-3) / <alpha-value>)",
"background-4": "rgb(var(--color-background-4) / <alpha-value>)",
foreground: "rgb(var(--color-foreground) / <alpha-value>)",
"foreground-2": "rgb(var(--color-foreground-2) / <alpha-value>)",
"foreground-3": "rgb(var(--color-foreground-3) / <alpha-value>)",
"foreground-4": "rgb(var(--color-foreground-4) / <alpha-value>)",
"foreground-5": "rgb(var(--color-foreground-5) / <alpha-value>)",
"foreground-6": "rgb(var(--color-foreground-6) / <alpha-value>)",
"foreground-7": "rgb(var(--color-foreground-7) / <alpha-value>)",
focus: "rgb(var(--color-focus) / <alpha-value>)",
// Text Colors
// using this naming convention
// so that e.g. text-color-1 can be used
//
// Don't use these for non-text colors
"color-1": "rgb(var(--color-text-1) / <alpha-value>)",
"color-2": "rgb(var(--color-text-2) / <alpha-value>)",
"color-3": "rgb(var(--color-text-3) / <alpha-value>)",
"color-4": "rgb(var(--color-text-4) / <alpha-value>)",
"color-5": "rgb(var(--color-text-5) / <alpha-value>)",
// Temporary, to be removed
accent: "#000",
"accent-2": "#000",
"accent-3": "#000",
muted: "#000",
"gray-400": "#000",
},
minHeight: {
default: "100vh",
},
boxShadow: {
"even-md": "0 0 12px",
},
backgroundSize: {
"size-200": "200% 200%",
},
backgroundPosition: {
"pos-0": "0% 0%",
"pos-100": "100% 100%",
},
},
fontSize: {
// Set line-height to 150%
// for all font sizes
xs: ["12px", "1.5em"],
sm: ["14px", "1.5em"],
base: ["16px", "1.5em"],
lg: ["18px", "1.5em"],
xl: ["20px", "1.5em"],
"2xl": ["24px", "1.5em"],
"3xl": ["32px", "1.5em"],
"4xl": ["36px", "1.5em"],
"5xl": ["40px", "1.5em"],
"6xl": ["64px", "1em"],
"7xl": ["80px", "1em"],
},
fontFamily: {
body: ["var(--font-body)"],
heading: ["var(--font-heading)"],
alt: ["var(--font-alt)"],
},
},
plugins: [require("@headlessui/tailwindcss"), require("tailwind-gradient-mask-image")],
};