zofe / theme-sneat
Sneat theme for rapyd-admin: the Sneat admin template (Bootstrap 5.3, MIT) as the admin, public and auth layouts.
v0.1.4
2026-09-15 15:48 UTC
Requires
- php: ^8.2
- zofe/rapyd-admin: ^9.13
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Sneat (free edition, MIT, Bootstrap 5.3)
as the admin, public and auth layouts of Rapyd Admin. It follows the layout
contract in docs/THEMES.md of the package: same modules, same x-rpd:: components, a different shell.
Install
composer require zofe/theme-sneat
php artisan vendor:publish --tag=rapyd-theme-sneat --force # public/vendor/themes/sneat
RAPYD_THEME=sneat
php artisan rpd:theme:check confirms the theme fulfils the contract. Remove the variable to go back to the bundled
look, or set RAPYD_THEME_SWITCH=true to let each visitor pick a theme from the navbar.
What it changes
resources/views/{app,admin,frontend,auth}.blade.phpandincludes/: Sneat's vertical menu (layout-menu, collapsible to icons from the xl breakpoint, off-canvas below), detached navbar with search, user menu and light/dark toggle, page title with breadcrumbs, footer.resources/views/rpd/components/:nav-dropdown,nav-link,nav-item,breadcrumbsrendered as Sneat menu items, so the menus of the modules need no change.resources/sass/sneat/: Sneat's SCSS (MIT, licence included) compiled against the Bootstrap of rapyd-admin, with_custom-variables/for overrides;resources/sass/theme.scssaddsrapyd-base(the rapyd components), the runtime palette mapped onto Sneat's--bs-menu-bg/--bs-navbar-bg, and a dark mode (Sneat free ships the light style only).resources/js/theme.js: rapyd'srapyd-core(Bootstrap, TomSelect, modals, theme switcher, livewire-sortable) plus a smallmenu.jsfor the vertical menu; Sneat's ownmenu.js/helpers.jsare not needed.- Icons: Font Awesome (used by the rapyd components) and the Public Sans font are loaded from CDNs.
Build
composer install # brings zofe/rapyd-admin, whose resources the build imports npm i npm run dev # vite build --watch → public/ npm run build

