carbon / tailwindcolors
A plugin for Neos CMS which provides an editor for tailwindcss colors
Fund package maintenance!
jonnitto
www.paypal.me/Jonnitto/20eur
Installs: 1 309
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Language:TypeScript
Type:neos-carbon
Requires
- neos/neos-ui: ^7.3 || ^8.0
README
Introduction
This package provides a Color Editor for TailwindCSS colors which can be used in Neos CMS.
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.