Class: MetaReports::Color

Inherits:
Object
  • Object
show all
Defined in:
app/models/meta_reports/color.rb

Constant Summary collapse

COLORS =

Shared colors. The key is the class name, value is RGB in hex format

Example: “highlight: ‘ffcccc’” is ‘tr.highlight #ffcccc’ in CSS, and “$highlight: #ffcccc;”“ as a SASS variable.

{
  even:                   'efefef',
  odd:                    'ffffff',
  yellow:                 ['ffffaa', 'ffffcc', 'f9f9a4', 'f9f9c6'],
  highlight:          '$yellow_1 !important',
}