-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
63 lines (61 loc) · 1.49 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
56
57
58
59
60
61
62
63
// tailwind.config.js
const { nextui } = require("@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({
themes: {
dark: {
extend: "dark", // <- inherit default values from dark theme
colors: {
background: "#1f1f1f",
foreground: "#f3f3f3",
secondarybg: "#393939",
primary: {
DEFAULT: "#0582de",
foreground: "#ffffff",
},
focus: "#0582de",
},
layout: {
disabledOpacity: "0.3",
radius: {
small: "4px",
medium: "6px",
large: "8px",
},
borderWidth: {
small: "1px",
medium: "2px",
large: "3px",
},
},
},
light: {
extend: "light",
layout: {}, // dark theme layout tokens
colors: {
background: "#ffffff",
foreground: "#1d1d1d",
secondarybg: "#fbfafb",
primary: {
DEFAULT: "#0582de",
foreground: "#ffffff",
},
focus: "#0582de",
}, // dark theme colors
},
// ... custom themes
},
}),
],
};