Module: StimulusPlumbers::Themes::Tailwind::Icon

Included in:
StimulusPlumbers::Themes::TailwindTheme
Defined in:
lib/stimulus_plumbers/themes/tailwind/icon.rb

Constant Summary collapse

ALIASES =
{
  "close"         => "x-mark",
  "download"      => "arrow-down-tray",
  "book"          => "book-open",
  "edit"          => "pencil",
  "email"         => "envelope",
  "calendar"      => "calendar-days",
  "external-link" => "arrow-top-right-on-square",
  "reveal"        => "eye"
}.freeze
ICONS =
StimulusPlumbers::Themes::Icons::Registry.new(
  sources: [Icons::Custom, Icons::Heroicon],
  aliases: ALIASES
)

Instance Method Summary collapse

Instance Method Details

#iconsObject



27
28
29
# File 'lib/stimulus_plumbers/themes/tailwind/icon.rb', line 27

def icons
  ICONS
end