Sha256: ba315599932d9a1aa5b6ee39f1564dab71f43694e011664a1e946c967fe29d85

Contents?: true

Size: 559 Bytes

Versions: 33

Compression:

Stored size: 559 Bytes

Contents

require 'rails_base/configuration/base'

module RailsBase
  module Configuration
    module Display
      class BackgroundColor < Base

        DEFAULT_VALUES = {
          dark_mode: {
            type: :string_nil,
            default: 'bg-secondary',
            description: 'Background to use in Dark mode'
          },
          light_mode: {
            type: :string_nil,
            default: '',
            description: 'Background to use in light mode'
          },
        }

        attr_accessor *DEFAULT_VALUES.keys
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
rails_base-0.60.0 lib/rails_base/configuration/display/background_color.rb
rails_base-0.58.0 lib/rails_base/configuration/display/background_color.rb
rails_base-0.57.0 lib/rails_base/configuration/display/background_color.rb
rails_base-0.56.0 lib/rails_base/configuration/display/background_color.rb
rails_base-0.55.0 lib/rails_base/configuration/display/background_color.rb
rails_base-0.54.0 lib/rails_base/configuration/display/background_color.rb
rails_base-0.53.1 lib/rails_base/configuration/display/background_color.rb
rails_base-0.53.0 lib/rails_base/configuration/display/background_color.rb
rails_base-0.52.3 lib/rails_base/configuration/display/background_color.rb
rails_base-0.52.1 lib/rails_base/configuration/display/background_color.rb
rails_base-0.52.0 lib/rails_base/configuration/display/background_color.rb
rails_base-0.51.1 lib/rails_base/configuration/display/background_color.rb
rails_base-0.51.0 lib/rails_base/configuration/display/background_color.rb