happytodev/filament-tailwind-color-picker 问题修复 & 功能扩展

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

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

happytodev/filament-tailwind-color-picker

最新稳定版本:v0.1.9

Composer 安装命令:

composer require happytodev/filament-tailwind-color-picker

包简介

Specific Tailwindcss color picker for Filamentphp

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This plugin add a field in Filament Form to help you to select color in the Tailwind color's palette.

Banner

Screenshots

Single Tailwind Color Picker in Filament

SCR-20220831-umu

Code integration example

SCR-20220831-usl

Filament Tailwind Color Picker works perfectly with other filaments fields

SCR-20220825-mge

Responsive on 1280x1024

1280x1024-SCR-20220831-w9u

Responsive on iPhone 12 Pro

390x844-iphone12pro-SCR-20220831-wdc

Support us

You can support the development of this open-source package here

Installation

You need first a Filament installation working. For that, please read instructions on the Filament website.

You can install the package via composer:

composer require happytodev/filament-tailwind-color-picker

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-tailwind-color-picker-views"

Usage

For adding a background color picker :

    TailwindColorPicker::make('backgroundColor')
        ->bgScope(),

When user choose a color in the tailwindcss palette, the value returned by the form will be for example :

bg-red-300

For adding a text color picker :

    TailwindColorPicker::make('backgroundColor')
        ->textScope(),

When user choose a color in the tailwindcss palette, the value returned by the form will be for example :

text-red-300

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.

统计信息

  • 总下载量: 734
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固