Sha256: 06e6fe523d5e547fbed8af8dc8cb6068ca90d4d0dfda89e7222123b2e125188d
Contents?: true
Size: 1.51 KB
Versions: 18
Compression:
Stored size: 1.51 KB
Contents
# -*- encoding : utf-8 -*- class Card; module Set; module Self; module BootswatchShared; extend Card::Set # ~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/06_bootstrap/set/self/bootswatch_shared.rb ~~~~~~~~~~~ view :raw do |args| bootstrap_path = "#{Cardio.gem_root}/mod/06_bootstrap/lib/stylesheets/bootstrap" # variables content = File.read("#{bootstrap_path}/_variables.scss") content += %{ $bootstrap-sass-asset-helper: false; $icon-font-path: "#{card_path 'assets/fonts/'}"; } # mixins content += Dir.glob("#{bootstrap_path}/mixins/*.scss").map do |name| File.read name end.join("\n") content += [ # Reset and dependencies %w(normalize print glyphicons), # Core CSS %w(scaffolding type code grid tables forms buttons), # Components %w(component-animations dropdowns button-groups input-groups navs navbar breadcrumbs pagination pager labels badges jumbotron thumbnails alerts progress-bars media list-group panels responsive-embed wells close), # Components w/ JavaScript %w(modals tooltip popovers carousel), # Utility classes %w(utilities responsive-utilities) ].map do |names| names.map do |name| File.read File.join(bootstrap_path, "_#{name}.scss") end.join "\n" end.join "\n" content end # ~~~~~~~~~~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/06_bootstrap/set/self/bootswatch_shared.rb ~~~~~~~~~~~ end;end;end;end;
Version data entries
18 entries across 18 versions & 1 rubygems