saucebase / themes
A visual theme editor for Saucebase: colours, fonts, radius and shadows, with live preview.
Package info
github.com/saucebase-dev/themes
Language:TypeScript
Type:saucebase-module
pkg:composer/saucebase/themes
Requires
- saucebase/core: ^2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v3.4.1
- v3.4.0
- v3.3.0
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.0
- v2.0.3
- v2.0.2
- v2.0.1
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.0
- v0.2.1
- v0.2.0
- v0.1.0
- dev-renanroble/sc-1063/module-install
- dev-dev-22-10
- dev-chore/mit-license
- dev-dev-v3
- dev-dev-v2
- dev-feat/fe-multi-framework
- dev-feat/internachi-modular
- dev-dev
This package is auto-updated.
Last update: 2026-10-24 20:47:12 UTC
README
A visual theme editor for Saucebase: colours, fonts, radius and shadows, with live preview.
A module for Saucebase, the AI-ready Laravel SaaS kit. Modules are Composer packages you add to a Saucebase app; once installed, the code is yours to change.
Features
- Theme editor: a side panel on every page with a live preview
- Built-in themes, ready to use or start from
- Light and dark mode in every theme
- Colour picker with the Tailwind palette and an eyedropper
- Google Fonts, loaded on demand
- Shadow and radius scales computed from a few base values
- Save your own themes as JSON files
- Set as default: bake a theme into
resources/css/theme.cssfrom the editor or withphp artisan saucebase:theme:apply <theme> - Admin theme: colours, font and radius for the admin panel
- Vue and React
Install
New to Saucebase? Start a new app and pick themes when it asks for modules:
curl -fsSL https://install.saucebase.dev | bash
It installs PHP and Composer if they're missing. With the CLI already installed, run saucebase new my-app instead.
Already have a Saucebase app? Add it with:
php artisan saucebase:module-install themes
npm install && npm run build
Open any page and use the palette button to open the editor. When you're happy with a theme, Set as default and commit resources/css/theme.css.
Configuration
The editor is on in local and off everywhere else. To change that, add to .env:
THEMES_ENABLED=true THEMES_WRITABLE=false
THEMES_ENABLED shows the editor; THEMES_WRITABLE lets it save themes. On a public site, leave writing off: visitors' edits then stay in their own browser.
The admin panel theme is under Settings → Admin theme.
Demo data
php artisan modules:seed --module=themes --demo
Adds a staff account (themes@saucebase.dev) that only sees the admin theme settings. It uses the DEMO_PASSWORD from .env.
License
MIT. See LICENSE.