-
Notifications
You must be signed in to change notification settings - Fork 198
Expand file tree
/
Copy pathtailwind.config.js
More file actions
102 lines (94 loc) · 2.34 KB
/
tailwind.config.js
File metadata and controls
102 lines (94 loc) · 2.34 KB
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
97
98
99
100
101
102
/** @type {import('tailwindcss').Config} */
module.exports = {
content: {
files: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
// transform: [
// ]
},
darkMode: "media",
theme: {
fontFamily: {
sans: ["Skyling", "sans-serif"],
serif: ["Awesome Serif", "serif"],
mono: ["Space Mono", "monospace"],
},
screens: {
xs: "380px",
sm: "640px",
md: "768px",
lg: "900px",
xl: "1288px",
"2xl": "1536px",
"3xl": "1900px",
},
extend: {
letterSpacing: {
"02": "0.024em",
"01": "0.01em",
},
borderRadius: {
"5px": ".3125rem",
"16px": "1rem",
},
fontSize: {
"small": ".75rem", //12px
"base": "1rem", //16px
"large": "1.25rem", //20px
"xlarge": "1.5625rem", //25px
"30px": "1.875rem", //30px
"2xlarge": "2rem", //32px
"3xlarge": "2.5rem", //40px
"4xlarge": "3.75rem", //60px
},
lineHeight: {
100: "100%",
120: "120%",
},
transitionTimingFunction: {
springy: "var(--ease-springy)",
},
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
primary: "var(--primary)",
secondary: "var(--secondary)",
tertiary: "var(--tertiary)",
// code colors
code: {
foreground: "var(--code-foreground)",
background: "var(--code-background)",
accent: "var(--code-accent)",
DEFAULT: "var(--code-accent)", // Optional: makes 'bg-accent' work
},
// Accent colors
accent: {
1: "var(--accent-1)",
2: "var(--accent-2)",
3: "var(--accent-3)",
DEFAULT: "var(--accent-1)", // Optional: makes 'bg-accent' work
},
// Contrast colors
contrast: {
1: "var(--contrast-1)",
2: "var(--contrast-2)",
3: "var(--contrast-3)",
},
gray: {
"ED": "#EDEDED",
"3c": "#3C3E41",
"5a": "#5a5a55",
"87": "#878787",
"d9": "#d9d9d9",
"f5": "#f5f5f5",
},
white: "#FFFFFF",
"off-white": "var(--off-white)",
},
},
},
plugins: [],
};