akira/filament-slim-scrollbar
最新稳定版本:v1.2.4
Composer 安装命令:
composer require akira/filament-slim-scrollbar
包简介
This is my package filament-slim-scrollbar
README 文档
README
A lightweight Filament package that provides elegant, slim scrollbars for all Filament panels. Pure CSS implementation with automatic light/dark mode support and zero configuration required.
Features
- Slim Design: 4px width/height scrollbars
- Dark Mode: Automatic light/dark theme support
- Zero Config: Works out of the box
- Performance: Pure CSS, no JavaScript
- Filament Native: Integrates seamlessly with Filament's asset system
- Customizable: Easy to override with your own styles
Requirements
- PHP 8.1, 8.2, 8.3, 8.4, or 8.5
- Laravel 10.x, 11.x, or 12.x
- Filament 3.x or 4.x
Installation
Install the package via Composer:
composer require akira/filament-slim-scrollbar
That's it! The package automatically registers itself and applies slim scrollbars to all Filament panels.
Browser Support
Full support in webkit-based browsers:
- ✅ Chrome/Chromium
- ✅ Safari
- ✅ Edge (Chromium)
- ✅ Opera
- ✅ Brave
- ⚠️ Firefox (uses default scrollbars - webkit styling not supported)
Customization
The package works with zero configuration, but you can customize the scrollbar styles by overriding the CSS in your custom theme:
/* resources/css/filament/theme.css */ ::-webkit-scrollbar { width: 8px; /* Change width */ height: 8px; } ::-webkit-scrollbar-thumb { background: #3b82f6; /* Custom color */ }
For more customization options, see the full documentation.
Documentation
Complete documentation is available at https://packages.akira-io.com/packages/filament-slim-scrollbar
Testing
composer test
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.
统计信息
- 总下载量: 2.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-28