awcodes / light-switch
Add a light, dark, and system theme switcher to the authentication pages of a Filament panel.
Fund package maintenance!
Requires
- php: ^8.2
- filament/filament: ^4.0|^5.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- awcodes/focus: ^1.0
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^9.0|^10.0|^11.0
- pestphp/pest: ^4.3
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-livewire: ^4.0
- rector/rector: ^2.0
- spatie/laravel-ray: ^1.29
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-06 17:03:30 UTC
README
Add a light, dark, and system theme switcher to the authentication pages of a Filament panel.
Documentation
The full documentation lives at docs.aw.codes/light-switch.
Compatibility
| Filament version | Package version |
|---|---|
| 3.x | 1.x |
| 4.x | 2.x |
| 4.x & 5.x | 3.x |
Installation
composer require awcodes/light-switch
The plugin needs a custom theme, a Tailwind @source line for its views, and registration on your panel. See Installation for those steps.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.