-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
51 lines (50 loc) · 1.21 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
// @ts-check
const { fontFamily } = require("tailwindcss/defaultTheme")
const colors = require("tailwindcss/colors")
/** @type {import("tailwindcss/types").Config } */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,tsx}",
"./components/**/*.{js,ts,tsx}",
"./layouts/**/*.{js,ts,tsx}",
"./lib/**/*.{js,ts,tsx}",
"./data/**/*.mdx",
],
darkMode: "class",
theme: {
extend: {
container: {
center: true,
maxWidth: "96rem",
},
maxWidth: {
"8xl": "96rem",
},
backgroundImage: {
"card-gradient":
"linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent)",
"card-gradient-dark":
"linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent)",
},
spacing: {
"9/16": "56.25%",
},
lineHeight: {
11: "2.75rem",
12: "3rem",
13: "3.25rem",
14: "3.5rem",
},
fontFamily: {
mono: ["var(--font-code)", ...fontFamily.mono],
sans: ["var(--font-inter)", ...fontFamily.sans],
},
colors: {
primary: colors.amber,
gray: colors.neutral,
},
},
},
plugins: [],
}