-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
63 lines (55 loc) · 1.54 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
/** @type {import('tailwindcss').Config} */
const { fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
extend: {
fontFamily: {
mont: ["var(--font-mont)", ...fontFamily.sans],
},
colors: {
dark: "#1b1b1b",
light: "#f5f5f5",
primary: "#B63E96", // 240,86,199 #F056C7
primaryDark: "#58E6D9", // 80,230,217
},
animation: {
"spin-slow": "spin 8s linear infinite",
},
boxShadow: {
"3xl": "0 15px 15px 1px rgba(80,230,217, 0.4)",
},
},
screens: {
"4xl": { max: "2135px" },
// => @media (max-width: 1535px) { ... }
"3xl": { max: "1785px" },
// => @media (max-width: 1535px) { ... }
"2xl": { max: "1535px" },
// => @media (max-width: 1535px) { ... }
xl: { max: "1279px" },
// => @media (max-width: 1279px) { ... }
lg: { max: "1023px" },
// => @media (max-width: 1023px) { ... }
md: { max: "767px" },
// => @media (max-width: 767px) { ... }
sm: { max: "639px" },
// => @media (max-width: 639px) { ... }
xs: { max: "479px" },
// => @media (max-width: 479px) { ... }
},
},
plugins: [
function ({ addVariant }) {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
},
],
};