irajul/filament-shadcn-theme
Pros:
Cons:
filament-shadcn-theme:cache CLI commands (for cached-asset mode).selectorMap for custom class targeting.token_overrides could break Filament’s expected CSS variables. Test thoroughly in staging.cssMode: 'cached-asset' in production.filament-shadcn-theme:clear to debug CSS issues.PanelProvider.ThemeMode integration aligns with the package’s default_theme_mode.selectorMap to ensure theme coverage.--color-primary) for comparison.composer require irajul/filament-shadcn-theme
php artisan vendor:publish --tag=filament-shadcn-theme-config
config/filament-shadcn-theme.php.PanelProvider (e.g., AdminPanelProvider).cssMode: 'cached-asset' and run:
php artisan filament-shadcn-theme:cache --panel=admin
selectorMap if widgets use non-standard classes.!important overrides.StyleVariant, BaseColor, and ThemeColor.token_overrides or styleVariables for edge cases.cached-asset vs. inline mode; adjust based on user load.config/filament-shadcn-theme.php or PanelProvider.<style> tags.token_overrides must be manually maintained.PanelProvider registration process and config options for developers.ab or Laravel Debugbar).public/vendor/filament-shadcn-theme).| Scenario | Impact | Mitigation |
|---|---|---|
| CSS injection conflicts | Broken component styling | Use selectorMap or disable plugin temporarily. |
| Cached-asset mode fails | Missing styles in production | Fallback to inline mode or regenerate assets. |
| Filament update breaks plugin | Theme rendering fails | Pin package version or fork the plugin. |
| Dark/light mode mismatch | Inconsistent UI | Align default_theme_mode with Filament’s ThemeMode. |
| Custom widget untargeted | Missing theme styles | Extend selectorMap or add manual CSS. |
PanelProvider.PanelProvider and revert to default Filament CSS.git diff config/filament-shadcn-theme.php
How can I help you explore Laravel packages today?