Class: Scruffy::Themes::RubyBlog

Inherits:
Base
  • Object
show all
Defined in:
lib/scruffy/themes.rb

Overview

Based on the color scheme used by almost every Ruby blogger.

Instance Attribute Summary

Attributes inherited from Base

#background, #colors, #font_family, #marker

Instance Method Summary collapse

Methods inherited from Base

#darken, #lighten, #next_color

Constructor Details

#initializeRubyBlog

Returns a new instance of RubyBlog.



99
100
101
102
103
104
105
# File 'lib/scruffy/themes.rb', line 99

def initialize
  super({
          :background => ['#670A0A', '#831515'],
          :marker => '#DBD1C1',
          :colors => %w(#007777 #444477 #994444 #77FFBB #D75A20)
        })
end