Class: PhlexIcons::Tabler::Flame

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/tabler/flame.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::Tabler::Base

Instance Method Details

#filledObject



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/phlex-icons/tabler/flame.rb', line 7

def filled
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    viewbox: '0 0 24 24',
    fill: 'currentColor'
  ) do |s|
    s.path(
      d:
        'M10 2c0 -.88 1.056 -1.331 1.692 -.722c1.958 1.876 3.096 5.995 1.75 9.12l-.08 .174l.012 .003c.625 .133 1.203 -.43 2.303 -2.173l.14 -.224a1 1 0 0 1 1.582 -.153c1.334 1.435 2.601 4.377 2.601 6.27c0 4.265 -3.591 7.705 -8 7.705s-8 -3.44 -8 -7.706c0 -2.252 1.022 -4.716 2.632 -6.301l.605 -.589c.241 -.236 .434 -.43 .618 -.624c1.43 -1.512 2.145 -2.924 2.145 -4.78'
    )
  end
end

#outlineObject



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/phlex-icons/tabler/flame.rb', line 21

def outline
  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 10.941c2.333 -3.308 .167 -7.823 -1 -8.941c0 3.395 -2.235 5.299 -3.667 6.706c-1.43 1.408 -2.333 3.621 -2.333 5.588c0 3.704 3.134 6.706 7 6.706s7 -3.002 7 -6.706c0 -1.712 -1.232 -4.403 -2.333 -5.588c-2.084 3.353 -3.257 3.353 -4.667 2.235'
    )
  end
end