Sha256: 13ace25e8e867d84d8ae6afb36fd7519fa62d7e136e89e37c8e9f42125592b5a
Contents?: true
Size: 941 Bytes
Versions: 1
Compression:
Stored size: 941 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
card-mod-style-0.17.0 | set/type_plus_right/set/style.rb |