Method: Kafo::KafoConfigure.preset_color_scheme

Defined in:
lib/kafo/kafo_configure.rb

.preset_color_schemeObject



88
89
90
91
92
# File 'lib/kafo/kafo_configure.rb', line 88

def preset_color_scheme
  match = ARGV.join(' ').match(/--color-of-background[ =](\w+)/)
  background = match && match[1]
  ColorScheme.new(:background => background, :colors => use_colors?).setup
end