Class: Phlex::Icons::Iconoir::Mail
- Inherits:
-
Base
- Object
- SVG
- Base
- Phlex::Icons::Iconoir::Mail
show all
- Defined in:
- lib/phlex/icons/iconoir/icons/mail.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
20
21
22
23
24
25
|
# File 'lib/phlex/icons/iconoir/icons/mail.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: "M7 9L12 12.5L17 9",
stroke: "currentColor",
stroke_linecap: "round",
stroke_linejoin: "round"
)
s.path(
d:
"M2 17V7C2 5.89543 2.89543 5 4 5H20C21.1046 5 22 5.89543 22 7V17C22 18.1046 21.1046 19 20 19H4C2.89543 19 2 18.1046 2 17Z",
stroke: "currentColor",
stroke_width: @stroke_width
)
end
end
|
#solid ⇒ Object
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# File 'lib/phlex/icons/iconoir/icons/mail.rb', line 27
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:
"M4 4.25C2.48122 4.25 1.25 5.48122 1.25 7V17C1.25 18.5188 2.48122 19.75 4 19.75H20C21.5188 19.75 22.75 18.5188 22.75 17V7C22.75 5.48122 21.5188 4.25 20 4.25H4ZM7.4301 8.38558C7.09076 8.14804 6.62311 8.23057 6.38558 8.5699C6.14804 8.90924 6.23057 9.37689 6.5699 9.61442L11.5699 13.1144C11.8281 13.2952 12.1719 13.2952 12.4301 13.1144L17.4301 9.61442C17.7694 9.37689 17.852 8.90924 17.6144 8.5699C17.3769 8.23057 16.9092 8.14804 16.5699 8.38558L12 11.5845L7.4301 8.38558Z",
fill: "currentColor"
)
end
end
|