-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
32 lines (31 loc) · 971 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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: "class",
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
backgroundSize: {
20: "20px 20px",
},
backgroundImage: (theme) => ({
"notebook-paper": `radial-gradient(${theme(
"colors.gray.200"
)} 2px, transparent 0)`,
"notebook-paper-dark": `radial-gradient(${theme(
"colors.gray.800"
)} 2px, transparent 0)`,
}),
fontFamily: {
nunito: ["Nunito", "sans-serif"],
bangla: ["Kalpurush", "sans-serif"],
},
},
},
plugins: [
require("@tailwindcss/typography"),
function ({ addVariant }) {
addVariant("child", "& > *");
addVariant("child:hover", "& > *:hover");
},
],
};