-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
52 lines (50 loc) · 1.27 KB
/
tailwind.config.ts
File metadata and controls
52 lines (50 loc) · 1.27 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
import { nextui } from '@nextui-org/react';
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
},
darkMode: 'class',
plugins: [
nextui({
addCommonColors: true,
themes: {
light: {
colors: {
background: '#FFFFFF', // or DEFAULT
foreground: '#11181C', // or 50 to 900 DEFAULT
primary: {
//... 50 to 900
foreground: '#FFFFFF',
DEFAULT: '#006FEE',
},
// ... rest of the colors
},
},
dark: {
colors: {
background: '#050b15', // or DEFAULT
background2: '#0C172B',
foreground: '#ECEDEE', // or 50 to 900 DEFAULT
primary: {
//... 50 to 900
foreground: '#FFFFFF',
DEFAULT: '#006FEE',
},
secondary: {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
button: '#4a6293',
},
},
// ... rest of the colors
},
},
}),
],
};