Download the PHP package shoplab/shoplab-filament-theme without Composer
On this page you can find all versions of the php package shoplab/shoplab-filament-theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package shoplab-filament-theme
Shoplab Filament Theme
A custom Linear-inspired theme for Filament v5 panels. This theme provides a modern, clean interface with refined typography, spacing, and color palettes optimized for multi-tenant applications.
Features
- Linear-inspired design with modern aesthetics
- Optimized for both light and dark modes
- Custom CSS tokens for consistent design system
- Built with Tailwind CSS 4
- Zero JavaScript - pure CSS theming
- Automatic service provider registration
Requirements
- PHP 8.2 or higher
- Laravel 11 or higher
- Filament 5.0 or higher
Installation
Install the package via Composer:
The service provider will be automatically registered.
Usage
There are two ways to use this theme with your Filament panels:
Option 1: Using viteTheme() (Recommended for Development)
This approach compiles the theme CSS from source using Vite, allowing for hot-reload during development:
1. Add the theme CSS to your Vite configuration:
2. Use viteTheme() in your panel provider:
Option 2: Using the Plugin (Pre-compiled CSS)
Use the plugin if you prefer pre-compiled CSS without involving Vite:
Local Development
For local theme development, you can use Composer's path repository feature:
1. Add to your project's composer.json:
2. Install the local package:
This creates a symlink to your local package, enabling instant feedback when editing theme files.
3. Build the theme CSS:
Or use watch mode for automatic rebuilds:
Customization
To customize the theme, you can:
- Fork this package
- Modify
src/Resources/css/theme.cssandsrc/Resources/css/tokens.css - Rebuild with
npm run build - Publish your own version to Packagist
CSS Structure
src/Resources/css/theme.css- Main theme styles and component overridessrc/Resources/css/tokens.css- Design tokens (colors, spacing, typography)
Testing
Run tests with Pest:
Check code style with Pint:
Build CSS assets:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Development Setup
- Clone the repository
- Install dependencies:
composer install && npm install - Make your changes
- Run tests:
composer test - Check code style:
composer pint - Submit a PR
Changelog
Please see CHANGELOG for recent changes.
License
The MIT License (MIT). Please see License File for more information.