-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
52 lines (51 loc) · 1.24 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
// "./node_modules/flowbite-react/**/*.js",
],
variants: {
extend: {},
},
plugins: [
require("@tailwindcss/typography"),
// require("flowbite"),
// require("daisyui")
],
// daisyui: {},
theme: {
extend: {
typography: {
DEFAULT: {
css: {
h1: {
fontSize: "2.5rem",
lineHeight: 1,
fontWeight: 800,
},
},
},
},
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
mono: ["Fira Code", ...defaultTheme.fontFamily.mono],
},
keyframes: {
animatedgradient: {
"0%": { backgroundPosition: "0% 50%" },
"50%": { backgroundPosition: "100% 50%" },
"100%": { backgroundPosition: "0% 50%" },
},
},
backgroundSize: {
"300%": "300%",
},
animation: {
gradient: "animatedgradient 4s ease infinite alternate",
},
},
},
};