Class: PhlexIcons::Hero::Battery100

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

Instance Attribute Summary

Attributes inherited from Base

#variant

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Methods inherited from Base

#initialize, #view_template

Constructor Details

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

Instance Method Details

#outlineObject



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/phlex-icons/hero/battery_100.rb', line 25

def outline
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    fill: 'none',
    viewbox: '0 0 24 24',
    stroke_width: '1.5',
    stroke: 'currentColor',
    aria_hidden: 'true',
    data_slot: 'icon'
  ) do |s|
    s.path(
      stroke_linecap: 'round',
      stroke_linejoin: 'round',
      d:
        'M21 10.5h.375c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125H21M4.5 10.5H18V15H4.5v-4.5ZM3.75 18h15A2.25 2.25 0 0 0 21 15.75v-6a2.25 2.25 0 0 0-2.25-2.25h-15A2.25 2.25 0 0 0 1.5 9.75v6A2.25 2.25 0 0 0 3.75 18Z'
    )
  end
end

#solidObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/phlex-icons/hero/battery_100.rb', line 7

def solid
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    viewbox: '0 0 24 24',
    fill: 'currentColor',
    aria_hidden: 'true',
    data_slot: 'icon'
  ) do |s|
    s.path(
      fill_rule: 'evenodd',
      d:
        'M3.75 6.75a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-.037c.856-.174 1.5-.93 1.5-1.838v-2.25c0-.907-.644-1.664-1.5-1.837V9.75a3 3 0 0 0-3-3h-15Zm15 1.5a1.5 1.5 0 0 1 1.5 1.5v6a1.5 1.5 0 0 1-1.5 1.5h-15a1.5 1.5 0 0 1-1.5-1.5v-6a1.5 1.5 0 0 1 1.5-1.5h15ZM4.5 9.75a.75.75 0 0 0-.75.75V15c0 .414.336.75.75.75H18a.75.75 0 0 0 .75-.75v-4.5a.75.75 0 0 0-.75-.75H4.5Z',
      clip_rule: 'evenodd'
    )
  end
end