PHP code example of noreviq / filament-theme
1. Go to this page and download the library: Download noreviq/filament-theme library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
noreviq / filament-theme example snippets
use Filament\Panel;
use Noreviq\FilamentTheme\NoreviqThemePlugin;
public function panel(Panel $panel): Panel
{
return $panel
// Keep your normal panel configuration here.
->plugin(NoreviqThemePlugin::make());
}
use Noreviq\FilamentTheme\Enums\AuthStyle;
use Noreviq\FilamentTheme\Enums\CornerStyle;
use Noreviq\FilamentTheme\Enums\ShadowStyle;
NoreviqThemePlugin::make()
->corners(CornerStyle::Sharp)
->shadows(ShadowStyle::Balanced)
->authStyle(AuthStyle::Noreviq);
bash
php artisan filament:assets