You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+64-3Lines changed: 64 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,68 @@ A demo of the application is available at [https://essentials-stg.vercel.app/](h
14
14
15
15
## Custom Theme Guide
16
16
17
-
### Network Logo
17
+
This project utilizes Hero UI's theming system for consistent styling across the application. The theming system is based on TailwindCSS and allows for extensive customization.
18
+
19
+
### Customizing the Theme
20
+
21
+
You can customize the theme by modifying the `tailwind.config.js` file. The Hero UI plugin is already configured, allowing you to:
22
+
23
+
1. Define custom colors
24
+
2. Create light and dark themes
25
+
3. Customize component appearances
26
+
27
+
```javascript
28
+
// Example of customizing theme in tailwind.config.js
29
+
const {heroui} =require("@heroui/react");
30
+
31
+
module.exports= {
32
+
// ... other configs
33
+
plugins: [
34
+
heroui({
35
+
themes: {
36
+
'purple-dark': {
37
+
extend:'dark',
38
+
colors: {
39
+
primary: {
40
+
50:'#3B096C',
41
+
100:'#520F83',
42
+
200:'#7318A2',
43
+
300:'#9823C2',
44
+
400:'#c031e2',
45
+
500:'#DD62ED',
46
+
600:'#F182F6',
47
+
700:'#FCADF9',
48
+
800:'#FDD5F9',
49
+
900:'#FEECFE',
50
+
DEFAULT:'#DD62ED',
51
+
foreground:'#ffffff',
52
+
},
53
+
},
54
+
},
55
+
},
56
+
}),
57
+
// Other plugins
58
+
],
59
+
}
60
+
```
61
+
62
+
```javascript
63
+
// Example of customizing theme in layout.tsx, add corresponding theme name in className
0 commit comments