Sha256: d4efff4813bc4f6b41d5bc7e1bbe386ee1140967e3689fc57478127c4abd83da

Contents?: true

Size: 807 Bytes

Versions: 6

Compression:

Stored size: 807 Bytes

Contents

module Spree
  module Admin
    class StyleGuideController < Spree::Admin::BaseController
      respond_to :html
      layout '/spree/layouts/admin_style_guide'

      def index
        @topics = {
          typography: [
            'fonts',
            'colors',
            'lists',
            'icons',
            'tags'
          ],
          forms: [
            'building_forms',
            'buttons',
            'helper_text',
            'inputs',
            'labels',
            'validation'
          ],
          components: [
            'tabs'
          ],
          messaging: [
            'loading',
            'flashes',
            'tooltips'
          ],
          tables: [
            'building_tables',
            'pagination'
          ]
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-2.3.1 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.3.0 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.3.0.rc3 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.3.0.rc2 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.3.0.rc1 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.3.0.beta1 app/controllers/spree/admin/style_guide_controller.rb