Module: RailsIcons::Configuration::Feather
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/rails_icons/configuration/feather.rb', line 8 def config ActiveSupport::OrderedOptions.new.tap do || .default_variant = nil .exclude_variants = [] .default = end end |
#initializer_config ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/rails_icons/configuration/feather.rb', line 17 def initializer_config " # Override Feather defaults\n # config.libraries.feather.default_variant = \"\" # Feather has no variants, this is provided for backwards compatibility\n # config.libraries.feather.exclude_variants = [] # Feather has no variants, this is provided for backwards compatibility\n\n # config.libraries.feather.default.css = \"size-6\"\n # config.libraries.feather.default.stroke_width = \"2\"\n # config.libraries.feather.default.data = {}\n RB\nend\n".indent(2) |
#source ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/rails_icons/configuration/feather.rb', line 29 def source { url: "https://github.com/feathericons/feather.git", variants: { ".": "icons" # Feather has no variants, store in the top directory } } end |