-
Modify Existing Theme:
- Update the color scheme in
src/interfaces/coral_web/src/themes/cohereTheme.js
:primary: { ... 600: '#E25D41', 500: '#AE4359', // Changed from default color 400: '#FF967E', ... },
- Update the color scheme in
-
Add a New Theme:
- Create a new theme file in the
src/interfaces/coral_web/src/themes
folder. - Update
src/interfaces/coral_web/tailwind.config.js
:module.exports = { presets: [require('./src/themes/yourTheme')], ... }
- Create a new theme file in the
-
Rebuild the Frontend:
- After making changes, rebuild the frontend to apply updates.
-
Set Environment Variable:
- In the
.env
file, setNEXT_PUBLIC_HAS_CUSTOM_LOGO=true
.
- In the
-
Modify Logo Component:
- Update the logo display in
src/interfaces/coral_web/src/components/Shared/Logo.tsx
.
- Update the logo display in
-
Update Favicon:
- Replace
public/favicon.ico
with the new favicon file.
- Replace
-
Modify Metadata:
- Edit:
src/interfaces/coral_web/src/components/Shared/WebManifestHead.tsx
src/interfaces/coral_web/src/components/Shared/GlobalHead/GlobalHead.tsx
src/interfaces/coral_web/public/site.webmanifest
- Edit:
- Update the
title
property insrc/interfaces/coral_web/src/components/Layout.tsx
.
- Translate UI labels in
src/interfaces/coral_web/src/constants/strings.tsx
.