定制 carbon/tailwindcolors 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

carbon/tailwindcolors

最新稳定版本:0.1.8

Composer 安装命令:

composer require carbon/tailwindcolors

包简介

A plugin for Neos CMS which provides an editor for tailwindcss colors

README 文档

README

Latest stable version Total downloads License GitHub forks GitHub stars GitHub watchers

Introduction

This package provides a Color Editor for TailwindCSS colors which can be used in Neos CMS.

example

Installation

Run this in your site package

composer require --no-update carbon/tailwindcolors

Then run composer update in your project directory.

How to use

Add a property of type string and configure the editor as seen in this example:

Foo.Bar:Content.Text:
  properties:
    options:
        preset: 'Carbon.TailwindColors.colors'
      ui:
        label: Color
        inspector:
          editorOptions:
            disabled: false
            # If set, this color gets displayed if no value is set
            placeholder: gold
            # Hides the reset button if set to false
            allowEmpty: true
            # This can be either color or grayscale. This reduces the list to only the color ones or only the gray colors
            scheme: color
            # You can disable certain strengths
            disableStrength: [50, 100]
            # If true, the picker is collapsed
            collapsed: true

Contributions

Contributions are very welcome!

Please create detailed issues and PRs.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2022-10-19