Method: Palette::ColorScheme#background

Defined in:
lib/palette/color_scheme.rb

#background(shade) ⇒ Object



23
24
25
26
# File 'lib/palette/color_scheme.rb', line 23

def background(shade)
  return unless %w(light dark).include?(shade.to_s)
  @background = shade.to_s
end