Sha256: eec4193e689fec06f2dbced651469c60935fde4462f410d326bf5cdbb3d01feb
Contents?: true
Size: 940 Bytes
Versions: 9
Compression:
Stored size: 940 Bytes
Contents
include_set Abstract::AssetOutputter, output_format: :css, output_view: :compressed assign_type :pointer def ok_item_types %i[css scss skin bootswatch_skin] end def ok_to_read true end def make_asset_output_coded super Cardio.config.seed_mods.first end format do # turn off autodetection of uri's def chunk_list :references end end format :html do HIDDEN_SKINS = %w[bootstrap_default_skin themeless_bootstrap_skin bootstrap_default_skin classic_bootstrap_skin].freeze def input_type :box_select end def default_item_view :bar end # view :input, template: :haml def themes card.rule_card(:content_options).item_cards end def selectable_themes themes.reject do |theme_card| theme_card.right&.codename == :stylesheets || theme_card.key.in?(HIDDEN_SKINS) end end end def joined_items_content item_cards.map(&:content).compact.join "\n" end
Version data entries
9 entries across 9 versions & 1 rubygems