-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
29 lines (28 loc) · 850 Bytes
/
tailwind.config.js
File metadata and controls
29 lines (28 loc) · 850 Bytes
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
import { heroui } from "@heroui/theme";
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/layouts/**/*.{js,ts,jsx,tsx,mdx}",
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: "rgb(var(--color-primary-rgb) / <alpha-value>)",
"primary-focus": "rgb(var(--color-primary-focus-rgb) / <alpha-value>)",
"primary-content":
"rgb(var(--color-primary-content-rgb) / <alpha-value>)",
},
},
ringColor: ({ theme }) => ({
// Added ringColor configuration
DEFAULT: theme("colors.primary"),
primary: theme("colors.primary"),
}),
},
darkMode: "class",
plugins: [heroui()],
};