Skip to content

jacobjones/DoubleJay.Epi.ConfigurableColorPicker

Repository files navigation

Configurable Color Picker for Optimizely CMS

Configurable Color Picker

Description

This package provides an easy-to-use color picker for Optimizely CMS allows full configurability of the color palette.

Features

  • 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

Getting started

Installation

Configuration & Usage

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:

Further Information

Creating this was the subject of two blog posts you can checkout here: