Class: PhlexIcons::Hero::H1
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Hero::H1
show all
- Defined in:
- lib/phlex-icons/hero/h1.rb
Instance Attribute Summary
Attributes inherited from Base
#attrs
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #view_template
Instance Method Details
#outline ⇒ Object
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# File 'lib/phlex-icons/hero/h1.rb', line 25
def outline
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
fill: 'none',
viewbox: '0 0 24 24',
stroke_width: '1.5',
stroke: 'currentColor',
aria_hidden: 'true',
data_slot: 'icon'
) do |s|
s.path(
stroke_linecap: 'round',
stroke_linejoin: 'round',
d:
'M2.243 4.493v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501m4.501-8.627 2.25-1.5v10.126m0 0h-2.25m2.25 0h2.25'
)
end
end
|
#solid ⇒ Object
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/phlex-icons/hero/h1.rb', line 7
def solid
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor',
aria_hidden: 'true',
data_slot: 'icon'
) do |s|
s.path(
fill_rule: 'evenodd',
d:
'M2.243 3.743a.75.75 0 0 1 .75.75v6.75h9v-6.75a.75.75 0 1 1 1.5 0v15.002a.75.75 0 1 1-1.5 0v-6.751h-9v6.75a.75.75 0 1 1-1.5 0v-15a.75.75 0 0 1 .75-.75Zm17.605 4.964a.75.75 0 0 1 .396.661v9.376h1.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5h1.5V10.77l-1.084.722a.75.75 0 1 1-.832-1.248l2.25-1.5a.75.75 0 0 1 .77-.037Z',
clip_rule: 'evenodd'
)
end
end
|