Module: ColorSchemeHelper

Included in:
Matey::ApplicationComponent
Defined in:
lib/helpers.rb

Instance Method Summary collapse

Instance Method Details

#color_scheme(scheme: "blue") ⇒ Object



2
3
4
5
6
7
8
9
10
11
# File 'lib/helpers.rb', line 2

def color_scheme(scheme: "blue")
  case scheme
  when "blue"
    "bg-primary text-light"
  when "neutral"
    "bg-light text-dark border-dark"
  else
    "bg-light text-dark border-dark"
  end
end