-
Notifications
You must be signed in to change notification settings - Fork 19
/
tailwind.config.ts
54 lines (51 loc) · 1.01 KB
/
tailwind.config.ts
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
/** @type {import('tailwindcss').Config} */
import { nextui } from '@nextui-org/react'
import themes from 'daisyui/src/theming/themes'
const errorColor = 'oklch(51% 0.17 22.1)'
module.exports = {
content: [
'src/**/*.{js,ts,jsx,tsx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
},
darkMode: 'class',
plugins: [require('@tailwindcss/typography'), require('daisyui'), nextui({
themes: {
light: {
colors: {
danger: errorColor
}
},
dark: {
colors: {
danger: errorColor
}
}
}
})],
daisyui: {
themes: [
{
garden: {
...themes['garden'],
primary: 'oklch(62.45% 0.1947 3.83636)',
error: errorColor
},
},
{
dark: {
...themes['dark'],
error: errorColor
},
},
{
dracula: {
...themes['dracula'],
error: errorColor
},
},
],
},
}