chore: Update Tailwind CSS and Vite dependencies, and include custom admin theme in configuration
This commit is contained in:
parent
b4e094e53f
commit
5f1b061b7b
@ -27,6 +27,7 @@ public function panel(Panel $panel): Panel
|
||||
->default()
|
||||
->id('admin')
|
||||
->path('admin')
|
||||
->viteTheme('resources/css/filament/admin/theme.css')
|
||||
->login()
|
||||
->colors([
|
||||
'primary' => Color::Amber,
|
||||
|
||||
2421
package-lock.json
generated
Normal file
2421
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -7,11 +7,11 @@
|
||||
"dev": "vite"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.0.0",
|
||||
"@tailwindcss/vite": "^4.2.1",
|
||||
"axios": "^1.11.0",
|
||||
"concurrently": "^9.0.1",
|
||||
"laravel-vite-plugin": "^2.0.0",
|
||||
"tailwindcss": "^4.0.0",
|
||||
"tailwindcss": "^4.2.1",
|
||||
"vite": "^7.0.7"
|
||||
}
|
||||
}
|
||||
|
||||
10
resources/css/filament/admin/theme.css
Normal file
10
resources/css/filament/admin/theme.css
Normal file
@ -0,0 +1,10 @@
|
||||
@import '../../../../vendor/filament/filament/resources/css/theme.css';
|
||||
|
||||
@source '../../../../app/Filament/**/*';
|
||||
@source '../../../../resources/views/filament/**/*';
|
||||
|
||||
@source '../../../../app/Filament/**/*';
|
||||
@source '../../../../resources/views/filament/**/*';
|
||||
@source '../../../../resources/views/components/**/*';
|
||||
@source '../../../../resources/views/livewire/**/*';
|
||||
@source '../../../../app/Livewire/**/*';
|
||||
@ -5,7 +5,7 @@ import tailwindcss from '@tailwindcss/vite';
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
laravel({
|
||||
input: ['resources/css/app.css', 'resources/js/app.js'],
|
||||
input: ['resources/css/app.css', 'resources/js/app.js', 'resources/css/filament/admin/theme.css'],
|
||||
refresh: true,
|
||||
}),
|
||||
tailwindcss(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user