diff --git a/app/models/splat.rb b/app/models/splat.rb index fe132eae9..430803ae9 100644 --- a/app/models/splat.rb +++ b/app/models/splat.rb @@ -2,5 +2,8 @@ class Splat < ApplicationRecord has_many :categorizations has_many :categories, through: :categorizations, dependent: :destroy - enum :color, %w[ dodgerblue teal tomato slateblue ].index_by(&:itself), suffix: true, default: :dodgerblue + enum :color, %w[ + #AF2E1B #CC6324 #3B4B59 #BFA07A #ED8008 #ED3F1C #BF1B1B #736B1E #D07B53 + #736356 #AD1D1D #BF7C2A #C09C6F #698F9C #7C956B #5D618F #3B3633 #67695E + ].index_by(&:itself), suffix: true, default: :dodgerblue end diff --git a/test/fixtures/splats.yml b/test/fixtures/splats.yml index 80cdd7c3f..a6d6b3491 100644 --- a/test/fixtures/splats.yml +++ b/test/fixtures/splats.yml @@ -3,14 +3,14 @@ one: title: The logo isn't big enough body: Make the logo bigger. - color: dodgerblue + color: \#AF2E1B two: title: Layout is broken body: The page scrolls horizontally on mobile devices. - color: tomato + color: \#CC6324 three: title: The text is too small body: Increase the font size. - color: teal + color: \#3B4B59