Docs Themes & Customization Creating a Custom Theme

Creating a Custom Theme

Build your own theme from scratch using the theme API.

5 views Updated 5 days ago

Creating a Custom Theme

Theme Structure

Create a new folder in resources/themes/your-theme/:

your-theme/

├── theme.json

├── css/

│ └── theme.css

├── views/

│ └── (optional view overrides)

└── assets/

└── (images, fonts, etc.)

theme.json

{

"name": "My Custom Theme",

"version": "1.0.0",

"author": "Your Name",

"description": "A custom theme for MangaReader Pro",

"supports": ["dark-mode", "rtl"]

}

Publishing Your Theme

Register your theme by running:

php artisan theme:install your-theme

The theme will then appear in Admin → Settings → Appearance.

> [!TIP] Use an existing theme as a starting point by copying its folder and modifying the styles.

Was this article helpful?