-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
77 lines (75 loc) · 1.74 KB
/
tailwind.config.ts
File metadata and controls
77 lines (75 loc) · 1.74 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import type { Config } from 'tailwindcss'
import { nextui } from '@nextui-org/react'
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}'
],
theme: {
extend: {}
},
plugins: [
nextui({
layout: {
disabledOpacity: '0.3', // opacity-[0.3]
borderWidth: {
small: '0.5rem', // border
medium: '1px', // border-2
large: '4px' // border-4
}, // border
radius: {
small: '2px', // rounded-small
medium: '4px', // rounded-medium
large: '6px' // rounded-large
}
},
themes: {
dark: {
colors: {
primary: {
DEFAULT: '#d946ef',
foreground: '#000'
},
secondary: {
DEFAULT: '#8b5cf6',
400: '#22d3ee'
},
success: {
DEFAULT: '#34d399'
},
warning: {
DEFAULT: '#facc15'
},
danger: {
DEFAULT: '#e11d48'
}
}
},
light: {
colors: {
background: {
DEFAULT: '#f3f4f6'
},
primary: {
DEFAULT: '#000',
foreground: '#f7f7f7'
},
success: {
DEFAULT: '#4ade80'
},
warning: {
DEFAULT: '#facc15'
},
danger: {
DEFAULT: '#e11d48'
}
}
}
}
})
],
darkMode: ['class']
}
export default config