A simple theme for FilamentPHP based on a Flat design.
| Dashboard Light | Dashboard Dark |
|---|---|
|
|
| Customers Light | Customers Dark |
|---|---|
|
|
| Form Light | Form Dark |
|---|---|
|
|
| Orders Light | Orders Dark |
|---|---|
|
|
| Products Light | Products Dark |
|---|---|
|
|
composer require spykapp/filament-flat-themeAfter installing the package, you’ll need to set up a custom Filament theme (if you haven’t already). Follow the official guide here:
📘 Creating a Custom Theme
| v3 | v4 |
|---|---|
| https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme | https://filamentphp.com/docs/4.x/styling/overview#creating-a-custom-theme |
- Open your
theme.cssfile. - Replace this line:
Filament v4 :
@import '../../../../vendor/filament/filament/resources/css/theme.css';with:
@import '../../../../vendor/spykapp/filament-flat-theme/resources/css/theme.css';Filament v3 :
@import '/vendor/filament/filament/resources/css/theme.css';with:
@import '/vendor/spykapp/filament-flat-theme/resources/css/theme.css';- Then run the build process:
npm run build✅ That’s it, you’re now using the Filament Flat Theme.
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.
