-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
50 lines (49 loc) · 1.44 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
// See the corresponding font import and instantiation in app/layout.tsx
sans: ["var(--font-poppins)"],
},
colors: {
gray: colors.neutral,
},
maxWidth: {
"8xl": "88rem", // 1408px with a 16px base
},
typography: {
// This ends up being used for the smallest breakpoint
DEFAULT: {
css: {
h3: {
marginTop: "2em", // default is 1.6em (~32px) at the smaller breakpoints
},
},
},
// We have to specify styles for this breakpoint even if they are the same as we've stated
// on smaller breakpoints because Tailwind's media-query-based class would have have higher
// specificity than our 'default' styles for this size screen.
lg: {
css: {
h3: {
marginTop: "2em", // default is 1.6666em (40px) at this breakpoint
},
},
},
},
boxShadow: {
// 30 percent black
jason30:
"rgb(0 0 0 / 30%) 0px 4px 15px -3px, rgb(0 0 0 / 30%) 0px 3px 6px -4px",
},
},
},
plugins: [require("@tailwindcss/typography")],
};