Class: PhlexIcons::Lucide::Palette

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/lucide/palette.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PhlexIcons::Lucide::Base

Instance Method Details

#view_templateObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/phlex-icons/lucide/palette.rb', line 7

def view_template
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    viewbox: '0 0 24 24',
    fill: 'none',
    stroke: 'currentColor',
    stroke_width: '2',
    stroke_linecap: 'round',
    stroke_linejoin: 'round'
  ) do |s|
    s.path(
      d:
        'M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z'
    )
    s.circle(cx: '13.5', cy: '6.5', r: '.5', fill: 'currentColor')
    s.circle(cx: '17.5', cy: '10.5', r: '.5', fill: 'currentColor')
    s.circle(cx: '6.5', cy: '12.5', r: '.5', fill: 'currentColor')
    s.circle(cx: '8.5', cy: '7.5', r: '.5', fill: 'currentColor')
  end
end