-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
52 lines (51 loc) · 1.05 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
mode: "jit",
content: ["./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}"],
theme: {
fontMetrics: {
sans: {
capHeight: 715,
ascent: 958,
descent: -242,
lineGap: 0,
unitsPerEm: 1000,
},
},
spacing: {
0: "0",
2: "0.125rem",
4: "0.25rem",
8: "0.5rem",
12: "0.75rem",
16: "1rem",
20: "1.25rem",
24: "1.5rem",
32: "2rem",
40: "2.5rem",
48: "3rem",
64: "4rem",
80: "5rem",
96: "6rem",
120: "7.5rem",
160: "10rem",
200: "12.5rem",
240: "15rem",
280: "17.5rem",
320: "20rem",
360: "22.5rem",
},
screens: {
mobile: "376px",
tablet: "768px",
desktop: "1024px",
},
extend: {
fontFamily: {
sans: ["Neue Montreal", ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [require("tailwindcss-capsize")],
};