-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
57 lines (57 loc) · 1.71 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,ts,jsx,tsx,mdx}",
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
spacing: {
baseline: "var(--baseline-grid-interval)",
"grid-margin-x": "var(--grid-margin-x)",
"grid-margin-y": "var(--grid-margin-y)",
"grid-gap": "var(--grid-gap)",
"logo-height": "26px",
"nav-button-offset-y": "var(--nav-button-offset-y)",
"nav-button-height": "46px",
"viewport-height": "100dvh",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
fontSize: {
header: ["36px", "1.06em"],
lead: ["24px", "1.15em"],
body: ["16px", "1.2em"],
micro: ["14px", "1.20em"],
"header-tablet": ["36px", "1.06em"],
"lead-tablet": ["20px", "1.1em"],
"body-tablet": ["16px", "1.2em"],
"micro-tablet": ["13px", "1.11em"],
"header-mobile": ["32px", "1.01em"],
"lead-mobile": ["20px", "1.1em"],
"body-mobile": ["16px", "1.2em"],
"micro-mobile": ["13px", "1.11em"],
nav: ["14px", "1.15em"],
"nav-s": ["13px", "1.15em"],
baseline: ["var(--baseline-grid-interval)", "1.125em"],
},
colors: {
ted: "#EB0028",
},
screens: {
xs: "390px",
sm: "760px",
md: "880px",
lg: "1024px",
xl: "1400px",
"2xl": "1590px",
},
},
},
plugins: [],
};