Download the PHP package nehalpatel/filament-compact-theme without Composer
On this page you can find all versions of the php package nehalpatel/filament-compact-theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nehalpatel/filament-compact-theme
More information about nehalpatel/filament-compact-theme
Files in nehalpatel/filament-compact-theme
Package filament-compact-theme
Short Description Reusable compact dark-first Filament v5 admin theme (Tailwind CSS, CSS hooks)
License MIT
Informations about the package filament-compact-theme
nehalpatel/filament-compact-theme
Reusable Filament v5 admin theme: compact, dark-first, flat surfaces, blue accent. Built with the official custom-theme flow (Tailwind CSS + fi-* hooks).
Requirements
- PHP 8.2+
- Laravel 12+
- Filament 5.x
- Vite +
@tailwindcss/vite(Tailwind v4), as used by Filament’s theme scaffold
Install in a Laravel app
1. Require the package
From Packagist (after publishing) or VCS:
Local development (path repository) — set url to the folder that contains this package’s composer.json (the root of a clone of this repository):
Then:
2. Register Vite entry
In vite.config.js, add the package stylesheet to Laravel Vite input:
Or keep the string in sync with FilamentCompactTheme::viteEntry() from PHP.
3. Point your Filament panel at the theme
In your panel provider (e.g. AdminPanelProvider):
4. Panel styling (colors, font, density toggles)
This package only ships CSS. Set ->colors(), ->font(), ->defaultThemeMode(), ->sidebarWidth(), ->globalSearch(), etc. in your own panel provider as needed.
5. Build assets
Optional publish
To copy the raw CSS into your app (e.g. to fork it):
This writes to resources/css/filament/admin/theme.publish.css. Switch your Vite input and viteTheme() to that file if you use it.
License
MIT.