-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
68 lines (67 loc) · 1.69 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
58
59
60
61
62
63
64
65
66
67
68
const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
purge: ["./public/**/*.html", "./src/**/*.{js,jsx,ts,tsx,vue}"],
darkMode: "class", // or 'media' or 'class'
theme: {
extend: {
colors: {
gray: colors.trueGray,
cool: colors.coolGray,
},
},
screens: {
'xs': '450px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
'3xl': '1860px',
},
fontSize: {
xxs: ".65rem",
xs: ".75rem",
sm: ".875rem",
tiny: ".65rem",
base: "1rem",
lg: "1.125rem",
xl: "1.25rem",
"2xl": "1.5rem",
"3xl": "1.875rem",
"4xl": "2.25rem",
"5xl": "3rem",
"6xl": "4rem",
"7xl": "5rem",
},
boxShadow: {
sm: "0 0 2px 0 rgba(0, 0, 0, 0.05)",
DEFAULT: "0 0 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
md: "0 0 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
lg:
"0 0 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
xl:
"0 0 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
"2xl": "0 0 50px -12px rgba(0, 0, 0, 0.25)",
"3xl": "0 0 60px -15px rgba(0, 0, 0, 0.3)",
inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",
none: "none",
},
maxHeight: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'1/4v': '25vh',
'1/2v': '50vh',
'3/4v': '75vh',
'1/3v': '33vh',
'2/3v': '67vh',
'full': '100%',
}
},
variants: {
extend: {},
},
plugins: [require("@tailwindcss/forms", "@tailwindcss/aspect-ratio")],
};