heroicon
This commit is contained in:
parent
f6bac88800
commit
4f33e475e5
5
app/helpers/heroicon_helper.rb
Normal file
5
app/helpers/heroicon_helper.rb
Normal file
@ -0,0 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module HeroiconHelper
|
||||
include Heroicon::Engine.helpers
|
||||
end
|
10
config/initializers/heroicon.rb
Normal file
10
config/initializers/heroicon.rb
Normal file
@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Heroicon.configure do |config|
|
||||
config.variant = :solid # Options are :solid, :outline and :mini
|
||||
|
||||
##
|
||||
# You can set a default class, which will get applied to every icon with
|
||||
# the given variant. To do so, un-comment the line below.
|
||||
# config.default_class = {solid: "h-5 w-5", outline: "h-6 w-6", mini: "h-4 w-4"}
|
||||
end
|
Loading…
Reference in New Issue
Block a user