Screens and themes
The package brings its own screens: a small Vue app on the JSON routes, built and committed in resources/dist, and served by the package
(/manager/_assets/...). A site needs no Node and no publish step. A browser that opens a manager address gets the page; a request that asks
for JSON gets the data.
| Module |
Screens |
| core |
login, logout, profile (name, password, theme), dashboard, menu |
| users |
accounts, groups with permissions |
| media |
library with upload, edit, focus point and picker (covers and photos in texts) |
| posts |
list, form with an editor (toolbar, photos, preview), categories and tags |
| pages |
list, form per page from its field definitions, free pages |
| resources |
a list and a form for every list the site defines in config |
| revisions |
a History panel on posts and pages, with Put back |
| reviews |
read-only list |
| audit |
log with filters, bans, rules, notes |
| statistics |
report with periods, comparison, lists, heatmap, programs, CSV |
Switch off with MANAGER_UI=none (an app that builds its own screens on the JSON routes). Text is English, Dutch is included; the language is the app locale.
Themes
- Built in:
dark and light. MANAGER_THEME is what everyone sees until they choose.
- Per account:
MANAGER_USER_THEMES=true (default) lets each account pick a theme in its profile (table manager_user_settings).
- The house style of a site:
php artisan manager:make-theme acme --brand=#e4002b --name="Acme" --logo=/img/logo.svg --font="Inter, sans-serif" --radius=0.5rem [--light]
writes resources/manager-themes/acme.json; set MANAGER_THEME=acme. Themes can also be listed in manager.themes.
- A theme is colours (
ink, panel, panel2, line, muted, text, brand, brand_alt), a radius, two fonts, a name and a logo. Every
value is checked before it goes into the page, so a theme file cannot put CSS or markup in it.
Working on the screens
Sources are in ui/ (Vue 3, TypeScript, Tailwind 4, Vite). npm ci && npm run build writes resources/dist; commit it. PR CI type-checks and fails when the committed bundle is out of date.