chroma icon indicating copy to clipboard operation
chroma copied to clipboard

Allow option passing to defined custom palettes

Open jfairbank opened this issue 9 years ago • 0 comments

At minimum need to support the :as option.

Chroma.define_palette :dynamic_palette do |opts|
  spin opts[:angle] || 90
end

'red'.paint.foo(angle: 60, as: :rgb)

jfairbank avatar Jan 17 '15 20:01 jfairbank