-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
55 lines (53 loc) · 1.25 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
import { heroui } from "@heroui/react";
import svgToDataUri from "mini-svg-data-uri";
import flattenColorPalette from "tailwindcss/lib/util/flattenColorPalette";
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)"],
mono: ["var(--font-mono)"],
},
keyframes: {
hueRotate: {
"0%": {
filter: "hue-rotate(0deg)",
},
"100%": {
filter: "hue-rotate(-360deg)",
},
},
},
anmation: {
"hue-rotate": "hueRotate 10s linear infinite",
},
colors: {
chart: {
1: "hsl(var(--chart-1))",
2: "hsl(var(--chart-2))",
3: "hsl(var(--chart-3))",
4: "hsl(var(--chart-4))",
5: "hsl(var(--chart-5))",
},
},
},
},
darkMode: ["selector", '[data-mode="dark"]', "class"],
plugins: [
heroui({
layout: {
radius: {
small: "0.125rem",
medium: "0.4rem",
large: "0.6rem",
},
},
}),
require("tailwindcss-animate"),
],
};