-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.cjs
40 lines (40 loc) · 1.43 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
/** @type {import('tailwindcss').Config} */
module.exports = {
customForms: (theme) => ({
default: {
"input, textarea": {
"&::placeholder": {
color: theme("colors.gray.400"),
},
},
},
}),
content: ["./index.html", "./src/**/*.{vue,js,ts}"],
theme: {
screens: {
sm: "480px",
md: "768px",
lg: "976px",
xl: "1240px",
},
extend: {
boxShadow: {
"t-sm": "0 -1px 2px 0 rgba(0, 0, 0, 0.05)",
"t-md": "0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
"t-lg": "0 -10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
"t-xl": "0 -20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
"t-2xl": "0 -25px 50px -12px rgba(0, 0, 0, 0.25)",
"t-3xl": "0 -35px 60px -15px rgba(0, 0, 0, 0.3)",
},
},
},
plugins: [
require("@tailwindcss/forms"),
function ({ addVariant }) {
addVariant("supports-scrollbars", "@supports selector(::-webkit-scrollbar)");
addVariant("scrollbar", "&::-webkit-scrollbar");
addVariant("scrollbar-track", "&::-webkit-scrollbar-track");
addVariant("scrollbar-thumb", "&::-webkit-scrollbar-thumb");
},
],
};