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", "grip-vertical" => "bars-3" }.freeze
- ICONS =
StimulusPlumbers::Themes::Icons::Registry.new( sources: [Icons::Custom, Icons::Heroicon], aliases: ALIASES )
- SIZES =
{ sm: "size-(--sp-icon-size-sm)", md: "size-(--sp-icon-size-md)", lg: "size-(--sp-icon-size-lg)" }.freeze
Instance Method Summary collapse
Instance Method Details
#icons ⇒ Object
34 35 36 |
# File 'lib/stimulus_plumbers/themes/tailwind/icon.rb', line 34 def icons ICONS end |