-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
46 lines (46 loc) · 1.03 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{vue,ts,js}"],
prefix: "tw-",
darkMode: "media", // or 'media' or 'class'
theme: {
screens: {
xs: "480",
sm: "768px",
md: "992px",
lg: "1024px",
xl: "1200px",
"2xl": "1480px",
},
borderRadius: {
none: "0",
xs: ".125rem",
sm: ".375rem",
DEFAULT: ".25rem",
lg: ".5rem",
xl: "1rem",
full: "9999px",
},
fontSize: {
xxs: "0.625rem", // 10px
xs: "0.75rem", // 12px
sm: "0.875rem", // 14px
base: "1rem", // 16px
md: "1.125rem", // 18px
lg: "1.25rem", // 20px
xl: "1.5625rem", // 25px
"2xl": "1.75rem", // 28px
"3xl": "2rem", // 32px
"4xl": "2.375rem", // 38px
},
extend: {},
},
variants: {
extend: {
backgroundColor: ["active", "disabled"],
textColor: ["disabled"],
borderColor: ["disabled"],
},
},
plugins: [require("@tailwindcss/typography")],
};