Class: PhlexIcons::Hero::Clock

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/hero/clock.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
# File 'lib/phlex-icons/hero/clock.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: 'M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'
    )
  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/clock.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:
        'M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v6c0 .414.336.75.75.75h4.5a.75.75 0 0 0 0-1.5h-3.75V6Z',
      clip_rule: 'evenodd'
    )
  end
end