-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
37 lines (36 loc) · 860 Bytes
/
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
boxShadow: {
footer: "-2px 6px 20px -3px rgba(150,144,150,1)",
},
colors: {
airbnb: "#ff385c",
},
fontFamily: {
sans: ["Cereal", ...defaultTheme.fontFamily.sans],
},
screens: {
xs: "450px",
},
},
},
variants: {
lineClamp: ["responsive", "hover"],
},
plugins: [
require("tailwind-scrollbar-hide"),
require("@tailwindcss/line-clamp"),
function ({ addVariant }) {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
addVariant("child-active", "& > *:active");
},
],
};