Sha256: 6c5032f6f8eacc6e142d3345453ff6963a3018ad8327237bdd2f8e09149c816d

Contents?: true

Size: 458 Bytes

Versions: 8

Compression:

Stored size: 458 Bytes

Contents

class MetaReports::Color

  #
  # Shared colors. The key is the class name, value is RGB in hex format
  #
  # Example: "highlight: 'ffcccc'" is 'tr.highlight {background: #ffcccc}' in CSS, and "$highlight: #ffcccc;"" as a SASS variable.
  #

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

end

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
meta_reports-0.1.3 app/models/meta_reports/color.rb
meta_reports-0.1.3 spec/dummy/app/models/meta_reports/color.rb
meta_reports-0.1.2 app/models/meta_reports/color.rb
meta_reports-0.1.2 spec/dummy/app/models/meta_reports/color.rb
meta_reports-0.1.1 app/models/meta_reports/color.rb
meta_reports-0.1.1 spec/dummy/app/models/meta_reports/color.rb
meta_reports-0.1.0 app/models/meta_reports/color.rb
meta_reports-0.1.0 spec/dummy/app/models/meta_reports/color.rb