akira/filament-slim-scrollbar 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

akira/filament-slim-scrollbar

最新稳定版本:v1.2.4

Composer 安装命令:

composer require akira/filament-slim-scrollbar

包简介

This is my package filament-slim-scrollbar

README 文档

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

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

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-28