Customization Guide
Learn how to customize colors, fonts, components, and add new features.Theme Customization
Colors
Edittailwind.config.js to change the color scheme:
Using Custom Colors
CSS Variables
For dynamic theming, use CSS variables insrc/index.css:
Adding New Pages
Public Page
1
Create Component
Create
src/pages/NewPage.jsx:2
Add Route
In
src/App.jsx:3
Add to Navigation
Update menu settings in admin or edit
Header.jsxAdmin Page
1
Create Component
Create
src/pages/Admin/NewFeature/NewFeature.jsx:2
Add Route
In
src/App.jsx under admin routes:3
Add to Sidebar
Edit
src/pages/Admin/AdminLayout.jsx to add menu itemAdding New Collections
1. Create in Appwrite
- Go to Appwrite Console → Databases → portfolio_db
- Create new collection with attributes
- Set permissions
2. Create Service
3. Create Admin UI
Use existing admin pages as templates. Key patterns:Adding Font Selector to New Pages
Customizing Rich Text Editor
Add New Toolbar Button
Editsrc/components/RichTextEditor/RichTextEditor.jsx: