Class: Gruff::Base
- Inherits:
-
Object
- Object
- Gruff::Base
- Defined in:
- lib/agri-controller/gruff/base.rb
Instance Method Summary collapse
-
#theme_37signals ⇒ Object
A color scheme plucked from the colors on the popular usability blog.
Instance Method Details
#theme_37signals ⇒ Object
A color scheme plucked from the colors on the popular usability blog.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/agri-controller/gruff/base.rb', line 42 def theme_37signals # Colors @green = '#339933' @purple = '#cc99cc' @blue = '#336699' @yellow = '#FFF804' @red = '#ff0000' @orange = '#cf5910' @black = 'black' @colors = [@black, @blue, @green, @red, @purple, @orange, '#202020'] self.theme = { :colors => @colors, :marker_color => 'black', :font_color => 'black', :background_colors => ['white', 'white'] } =begin # Colors @dark_pink = '#FF3333' @dark_blue = '#3a5b87' @some_blue= '#3333ee' @peach = '#daaea9' '#a9a9da' # dk purple @green = '#009933' @purple = '#cc99cc' @light_purple = '#a9a9da' @light_blue='#333399' @blue = '#0000ff' @yellow = '#FFF804' @red = '#ff0000' @orange = '#cf5910' @black = 'black' @colors = [@black, @some_blue,@green, @red,@dark_pink ,@blue, @orange,@dark_blue ] self.theme = { :colors => @colors, :marker_color => 'black', :font_color => 'black', :background_colors => ['white', 'white'] } =end end |