Class: PhlexIcons::Hero::Key
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Hero::Key
show all
- Defined in:
- lib/phlex-icons/hero/key.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/key.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:
'M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z'
)
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/key.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:
'M15.75 1.5a6.75 6.75 0 0 0-6.651 7.906c.067.39-.032.717-.221.906l-6.5 6.499a3 3 0 0 0-.878 2.121v2.818c0 .414.336.75.75.75H6a.75.75 0 0 0 .75-.75v-1.5h1.5A.75.75 0 0 0 9 19.5V18h1.5a.75.75 0 0 0 .53-.22l2.658-2.658c.19-.189.517-.288.906-.22A6.75 6.75 0 1 0 15.75 1.5Zm0 3a.75.75 0 0 0 0 1.5A2.25 2.25 0 0 1 18 8.25a.75.75 0 0 0 1.5 0 3.75 3.75 0 0 0-3.75-3.75Z',
clip_rule: 'evenodd'
)
end
end
|