Class: PhlexIcons::Tabler::Home
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Tabler::Home
show all
- Defined in:
- lib/phlex-icons/tabler/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
16
17
18
19
|
# File 'lib/phlex-icons/tabler/home.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:
'M12.707 2.293l9 9c.63 .63 .184 1.707 -.707 1.707h-1v6a3 3 0 0 1 -3 3h-1v-7a3 3 0 0 0 -2.824 -2.995l-.176 -.005h-2a3 3 0 0 0 -3 3v7h-1a3 3 0 0 1 -3 -3v-6h-1c-.89 0 -1.337 -1.077 -.707 -1.707l9 -9a1 1 0 0 1 1.414 0m.293 11.707a1 1 0 0 1 1 1v7h-4v-7a1 1 0 0 1 .883 -.993l.117 -.007z'
)
end
end
|
#outline ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# File 'lib/phlex-icons/tabler/home.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: 'M5 12l-2 0l9 -9l9 9l-2 0')
s.path(d: 'M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7')
s.path(d: 'M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6')
end
end
|