Class: PhlexIcons::Hero::Scale
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Hero::Scale
show all
- Defined in:
- lib/phlex-icons/hero/scale.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
#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/scale.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:
'M12 3v17.25m0 0c-1.472 0-2.882.265-4.185.75M12 20.25c1.472 0 2.882.265 4.185.75M18.75 4.97A48.416 48.416 0 0 0 12 4.5c-2.291 0-4.545.16-6.75.47m13.5 0c1.01.143 2.01.317 3 .52m-3-.52 2.62 10.726c.122.499-.106 1.028-.589 1.202a5.988 5.988 0 0 1-2.031.352 5.988 5.988 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202L18.75 4.971Zm-16.5.52c.99-.203 1.99-.377 3-.52m0 0 2.62 10.726c.122.499-.106 1.028-.589 1.202a5.989 5.989 0 0 1-2.031.352 5.989 5.989 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202L5.25 4.971Z'
)
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/scale.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:
'M12 2.25a.75.75 0 0 1 .75.75v.756a49.106 49.106 0 0 1 9.152 1 .75.75 0 0 1-.152 1.485h-1.918l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 18.75 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84l2.474-10.124H12.75v13.28c1.293.076 2.534.343 3.697.776a.75.75 0 0 1-.262 1.453h-8.37a.75.75 0 0 1-.262-1.453c1.162-.433 2.404-.7 3.697-.775V6.24H6.332l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 5.25 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84L4.168 6.241H2.25a.75.75 0 0 1-.152-1.485 49.105 49.105 0 0 1 9.152-1V3a.75.75 0 0 1 .75-.75Zm4.878 13.543 1.872-7.662 1.872 7.662h-3.744Zm-9.756 0L5.25 8.131l-1.872 7.662h3.744Z',
clip_rule: 'evenodd'
)
end
end
|