-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
39 lines (38 loc) · 1.04 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
/** @type {import('tailwindcss').Config} */
const purgecss = require("@fullhuman/postcss-purgecss");
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"./node_modules/flowbite-react/**/*.js",
"./src/**/*.{js,ts,jsx,tsx}",
"./public/**/*.{html,woff2}",
],
darkMode: "class",
theme: {
extend: {
colors: {
sky: colors.sky,
teal: colors.teal,
rose: colors.rose,
},
},
fontFamily: {
hikou: ["Hikou", "sans-serif", "ui-sans-serif", "system-ui"],
bebas: ["Bebas Neue", "sans-serif", "ui-sans-serif", "system-ui"],
poppins: ["Poppins", "sans-serif", "ui-sans-serif", "system-ui"],
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
},
plugins: [
require("@tailwindcss/forms"),
require("flowbite/plugin"),
require("tailwind-scrollbar")({ nocompatible: true }),
purgecss({
content: ["./**/*.html"],
}),
],
variants: {
scrollbar: ["rounded"],
},
};