-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
67 lines (66 loc) · 2.17 KB
/
Copy pathtailwind.config.js
File metadata and controls
67 lines (66 loc) · 2.17 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
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
module.exports = {
darkMode: "class",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
colors: {
primary: colors.teal,
secondary: colors.sky,
tertiary: "var(--tertiary)",
background: "var(--background)",
"on-background": "var(--on-background)",
surface: "var(--surface)",
"on-surface": "var(--on-surface)",
"on-surface-variant": "var(--on-surface-variant)",
outline: "var(--outline)",
"outline-variant": "var(--outline-variant)",
},
borderRadius: {
"DEFAULT": "0.125rem",
"lg": "0.25rem",
"xl": "0.5rem",
"full": "9999px"
},
spacing: {
"margin-desktop": "24px",
"container-max": "1440px",
"gutter": "16px",
"unit": "4px",
"margin-mobile": "16px"
},
maxWidth: {
"container-max": "1440px",
},
fontFamily: {
"headline-md": ["Geist"],
"headline-lg": ["Geist"],
"label-sm": ["JetBrains Mono"],
"code-md": ["JetBrains Mono"],
"body-md": ["Geist"],
"body-lg": ["Geist"],
"sans": ["Geist", "sans-serif"],
"mono": ["JetBrains Mono", "monospace"]
},
fontSize: {
"headline-md": ["24px", { "lineHeight": "1.3", "fontWeight": "600" }],
"headline-lg": ["32px", { "lineHeight": "1.2", "letterSpacing": "-0.02em", "fontWeight": "600" }],
"label-sm": ["12px", { "lineHeight": "1", "letterSpacing": "0.05em", "fontWeight": "500" }],
"code-md": ["14px", { "lineHeight": "1.6", "fontWeight": "400" }],
"body-md": ["14px", { "lineHeight": "1.5", "fontWeight": "400" }],
"body-lg": ["16px", { "lineHeight": "1.6", "fontWeight": "400" }]
}
},
},
plugins: [],
};