This package provides an easy-to-use color picker for Optimizely CMS allows full configurability of the color palette.
- Available colors are fully configurable
- Colors can be swapped-out as the ID is persisted (not the color code)
- Support for different color palettes per site in a multi-site solution
- Allows for individual properties to use a specified palette
- The NuGet package can be installed from the Optimizely NuGet feed
- See the installation details here: https://nuget.optimizely.com/package/?id=DoubleJay.Epi.ConfigurableColorPicker
In CMS 12, to register you should call the AddConfigurableColorPicker
method in your startup class ConfigureServices
method::
public void ConfigureServices(IServiceCollection services)
{
services.AddConfigurableColorPicker();
}
Version 2 added the ability to name palettes and use these throughout the website, as such, configuration and usage changed significantly. Breaking changes are listed in the documentation.
Please consult with the relevant documentation for further details:
Creating this was the subject of two blog posts you can checkout here: