Themes | PagibleAI CMS Documentation

Creating Themes for PagibleAI CMS

PagibleAI CMS themes are standard Composer packages that register a view namespace and publish CSS assets. Creating a custom theme is straightforward:

  1. Create a Composer package
  2. Add a ServiceProvider that registers your views
  3. Design your Blade layouts with full creative freedom
  4. Publish your CSS to public/vendor/cms/themes/yourtheme/

PagibleAI CMS handles the rest — view resolution, asset loading, and fallback inheritance.

PagibleAI CMS Theme Structure

my-theme/
├── composer.json
├── public/
│   ├── cms.css          # Core overrides
│   ├── hero.css         # Hero element styles
│   └── ...              # Element-specific CSS
├── src/
│   └── MyThemeServiceProvider.php
└── views/
    └── layouts/
        └── main.blade.php   # Your custom layout

Smart Theme Inheritance

PagibleAI CMS delivers blazing-fast content management

Your theme only needs to override what it changes. PagibleAI CMS automatically falls back to the base theme for any view or asset you don't customize — keeping your theme lean and maintainable.