Sha256: 81a8bb8cb01a10331dd9a3707f259ed4a8c8c6da017708e5dae27b8e2b70669d

Contents?: true

Size: 861 Bytes

Versions: 41

Compression:

Stored size: 861 Bytes

Contents

# frozen_string_literal: true

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'
          ],
          forms: [
            'building_forms',
            'buttons',
            'helper_text',
            'inputs',
            'labels',
            'validation'
          ],
          components: [
            'pills',
            'modals',
            'tabs'
          ],
          messaging: [
            'loading',
            'flashes',
            'tooltips'
          ],
          tables: [
            'building_tables',
            'pagination'
          ]
        }
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
solidus_backend-2.9.6 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.8.6 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.9.5 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.9.4 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.6.6 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.7.4 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.8.5 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.9.3 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.9.2 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.7.3 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.6.5 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.9.1 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.9.0 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.9.0.rc.1 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.8.4 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.8.3 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.7.2 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.6.4 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.8.2 app/controllers/spree/admin/style_guide_controller.rb
solidus_backend-2.8.1 app/controllers/spree/admin/style_guide_controller.rb