Class: Phlex::Icons::Iconoir::Heart
- Inherits:
-
Base
- Object
- SVG
- Base
- Phlex::Icons::Iconoir::Heart
show all
- Defined in:
- lib/phlex/icons/iconoir/icons/heart.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #view_template
Instance Method Details
#regular ⇒ Object
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/phlex/icons/iconoir/icons/heart.rb', line 2
def regular
svg(
class: @class,
width: @width,
height: @height,
stroke_width: @stroke_width,
viewbox: "0 0 24 24",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
) do |s|
s.path(
d:
"M22 8.86222C22 10.4087 21.4062 11.8941 20.3458 12.9929C17.9049 15.523 15.5374 18.1613 13.0053 20.5997C12.4249 21.1505 11.5042 21.1304 10.9488 20.5547L3.65376 12.9929C1.44875 10.7072 1.44875 7.01723 3.65376 4.73157C5.88044 2.42345 9.50794 2.42345 11.7346 4.73157L11.9998 5.00642L12.2648 4.73173C13.3324 3.6245 14.7864 3 16.3053 3C17.8242 3 19.2781 3.62444 20.3458 4.73157C21.4063 5.83045 22 7.31577 22 8.86222Z",
stroke: "currentColor",
stroke_linejoin: "round"
)
end
end
|
#solid ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# File 'lib/phlex/icons/iconoir/icons/heart.rb', line 21
def solid
svg(
class: @class,
width: @width,
height: @height,
viewbox: "0 0 24 24",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
) do |s|
s.path(
fill_rule: "evenodd",
clip_rule: "evenodd",
d:
"M11.9999 3.94228C13.1757 2.85872 14.7069 2.25 16.3053 2.25C18.0313 2.25 19.679 2.95977 20.8854 4.21074C22.0832 5.45181 22.75 7.1248 22.75 8.86222C22.75 10.5997 22.0831 12.2728 20.8854 13.5137C20.089 14.3393 19.2938 15.1836 18.4945 16.0323C16.871 17.7562 15.2301 19.4985 13.5256 21.14L13.5216 21.1438C12.6426 21.9779 11.2505 21.9476 10.409 21.0754L3.11399 13.5136C0.62867 10.9374 0.62867 6.78707 3.11399 4.21085C5.54605 1.68984 9.46239 1.60032 11.9999 3.94228Z",
fill: "currentColor"
)
end
end
|