Sha256: e86b053d26a00d9427c68fd77d40f6a5b60896d36f33353def6a5f10977f590f

Contents?: true

Size: 445 Bytes

Versions: 17

Compression:

Stored size: 445 Bytes

Contents

module Quorum
  module Generators
    class StylesGenerator < Rails::Generators::Base
      source_root File.expand_path("../../../../app/assets/stylesheets", __FILE__)
      desc "Copy quorum stylesheets to your application."

      STYLE_DIRECTORIES = [
        "quorum"
      ]

      def copy_styles
        STYLE_DIRECTORIES.each do |d|
          directory d.to_s, "app/assets/stylesheets/#{d.to_s}"
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
quorum-0.8.2 lib/generators/quorum/styles_generator.rb
quorum-0.8.1 lib/generators/quorum/styles_generator.rb
quorum-0.8.0 lib/generators/quorum/styles_generator.rb
quorum-0.7.1 lib/generators/quorum/styles_generator.rb
quorum-0.7.0 lib/generators/quorum/styles_generator.rb
quorum-0.6.0 lib/generators/quorum/styles_generator.rb
quorum-0.5.2 lib/generators/quorum/styles_generator.rb
quorum-0.5.1 lib/generators/quorum/styles_generator.rb
quorum-0.5.0 lib/generators/quorum/styles_generator.rb
quorum-0.4.0 lib/generators/quorum/styles_generator.rb
quorum-0.3.3 lib/generators/quorum/styles_generator.rb
quorum-0.3.2 lib/generators/quorum/styles_generator.rb
quorum-0.3.1 lib/generators/quorum/styles_generator.rb
quorum-0.3.0 lib/generators/quorum/styles_generator.rb
quorum-0.2.1 lib/generators/quorum/styles_generator.rb
quorum-0.2.0 lib/generators/quorum/styles_generator.rb
quorum-0.1.0 lib/generators/quorum/styles_generator.rb