Module: Rubicons::Lucide

Defined in:
lib/rubicons/lucide.rb,
lib/rubicons/lucide/rails_helper.rb

Defined Under Namespace

Modules: RailsHelper

Constant Summary collapse

ICONS_PATH =
File.expand_path('../../icons/lucide', __dir__)

Class Method Summary collapse

Class Method Details

.available_iconsObject



32
33
34
# File 'lib/rubicons/lucide.rb', line 32

def available_icons
  @available_icons ||= BaseIconSet.available_icons(ICONS_PATH)
end

.icon(name, **options) ⇒ Object



24
25
26
# File 'lib/rubicons/lucide.rb', line 24

def icon(name, **options)
  BaseIconSet.render_icon(name, ICONS_PATH, **options)
end

.icon!(name, **options) ⇒ Object



28
29
30
# File 'lib/rubicons/lucide.rb', line 28

def icon!(name, **options)
  BaseIconSet.render_icon!(name, ICONS_PATH, **options)
end

.licenseObject



20
21
22
# File 'lib/rubicons/lucide.rb', line 20

def license
  'ISC'
end

.pack_descriptionObject



16
17
18
# File 'lib/rubicons/lucide.rb', line 16

def pack_description
  'Lucide is a beautiful and consistent icon toolkit made by the community. It is a fork of Feather Icons with hundreds of additional icons and active community development.'
end

.pack_nameObject



12
13
14
# File 'lib/rubicons/lucide.rb', line 12

def pack_name
  'Lucide'
end