Sha256: 68d8107d50f46bffea44701c29abe999a9851eda6b6843cfa8f3216cdb5ebfb0

Contents?: true

Size: 654 Bytes

Versions: 6

Compression:

Stored size: 654 Bytes

Contents

# frozen_string_literal: true

require "active_support/configurable"

module Katalyst
  module Content
    class Config
      include ActiveSupport::Configurable

      config_accessor(:backgrounds) { %w[light dark] }
      config_accessor(:items) do
        %w[
          Katalyst::Content::Content
          Katalyst::Content::Figure
          Katalyst::Content::Section
          Katalyst::Content::Group
          Katalyst::Content::Column
          Katalyst::Content::Aside
        ]
      end
      config_accessor(:image_mime_types) { %w[image/png image/gif image/jpeg image/webp] }
      config_accessor(:max_image_size) { 20 }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katalyst-content-1.0.2 lib/katalyst/content/config.rb
katalyst-content-1.0.1 lib/katalyst/content/config.rb
katalyst-content-1.0.0 lib/katalyst/content/config.rb
katalyst-content-0.2.2 lib/katalyst/content/config.rb
katalyst-content-0.2.1 lib/katalyst/content/config.rb
katalyst-content-0.2.0 lib/katalyst/content/config.rb