Class: PhlexIcons::Material::Home
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Material::Home
show all
- Defined in:
- lib/phlex-icons/material/home.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
Instance Method Details
#filled ⇒ Object
7
8
9
10
11
12
13
14
15
|
# File 'lib/phlex-icons/material/home.rb', line 7
def filled
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(d: 'M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z')
end
end
|
#outlined ⇒ Object
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/phlex-icons/material/home.rb', line 17
def outlined
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'm12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3 2 12h3v8h6v-6h2v6h6v-8h3L12 3z'
)
end
end
|
#round ⇒ Object
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/phlex-icons/material/home.rb', line 30
def round
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z'
)
end
end
|
#sharp ⇒ Object
43
44
45
46
47
48
49
50
51
|
# File 'lib/phlex-icons/material/home.rb', line 43
def sharp
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(d: 'M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z')
end
end
|
#two_tone ⇒ Object
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# File 'lib/phlex-icons/material/home.rb', line 53
def two_tone
svg(
**attrs,
fill: 'currentColor',
xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
) do |s|
s.path(
d:
'M12 3 2 12h3v8h6v-6h2v6h6v-8h3L12 3zm5 15h-2v-6H9v6H7v-7.81l5-4.5 5 4.5V18z'
)
s.path(d: 'M7 10.19V18h2v-6h6v6h2v-7.81l-5-4.5z', opacity: '.3')
end
end
|