heyday/silverstripe-colorpalette 问题修复 & 功能扩展

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

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

heyday/silverstripe-colorpalette

最新稳定版本:4.0.0

Composer 安装命令:

composer require heyday/silverstripe-colorpalette

包简介

A color palette picker for SilverStripe CMS

README 文档

README

Provides a color picker field in SilverStripe allowing a user to select from defined selection of colors (palette)

Installation (with composer)

$ composer require heyday/silverstripe-colorpalette 

Example

Color Palette Example

Features

  • Supports usage in Elemental

Usage

Regular palette

$fields->addFieldToTab( 'Root.Main', Heyday\ColorPalette\Fields\ColorPaletteField::create( 'BackgroundColor', 'Background Color', [ 'White' => '#fff', 'Black' => '#000' ] ) );

Grouped Palette

$fields->addFieldToTab( 'Root.Main', Heyday\ColorPalette\Fields\GroupedColorPaletteField::create( 'BackgroundColor', 'Background Color', array( 'Primary Palette' => [ 'White' => '#fff', 'Black' => '#000' ], 'Secondary Palette' => [ 'Blue' => 'blue', 'Red' => 'red' ] ) ) );

License

SilverStripe Color Palette Field is licensed under an MIT license

统计信息

  • 总下载量: 151.53k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 23
  • 点击次数: 0
  • 依赖项目数: 11
  • 推荐数: 0

GitHub 信息

  • Stars: 23
  • Watchers: 31
  • Forks: 19
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固