Skip to content

indigotechtutorials/coloris-ruby-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Coloris gem for Ruby on Rails

An alternative color picker for your website which offers some helpful features including

  • 3 different UI modes (default, polaroid, pill)
  • light/dark mode
  • force color picker to only use a single format (hsl, rgb, hex) or allow all color formats.

And so many more customization options see more information on the Coloris github page

Installation guide

Step 1. Install the gem

bundle add coloris

Step 2. Run the install command

rails g coloris:install

Add a data-coloris attribute on any text field

   <%= form.text_field :favorite_color, data_coloris: true %>

About

A gem that helps you install the coloris color picker library easier. for Ruby on Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors