Class: PhlexIcons::Huge::Database

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/huge/database.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

Constructor Details

This class inherits a constructor from PhlexIcons::Huge::Base

Instance Method Details

#strokeObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/phlex-icons/huge/database.rb', line 7

def stroke
  svg(
    **attrs,
    viewbox: '0 0 24 24',
    fill: 'none',
    xmlns: 'http://www.w3.org/2000/svg'
  ) do |s|
    s.ellipse(
      cx: '12',
      cy: '5',
      rx: '8',
      ry: '3',
      stroke: 'currentColor',
      stroke_width: '1.5'
    )
    s.path(
      d: 'M7 10.842C7.60158 11.0229 8.27434 11.1718 9 11.282',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round'
    )
    s.path(
      d: 'M20 12C20 13.6569 16.4183 15 12 15C7.58172 15 4 13.6569 4 12',
      stroke: 'currentColor',
      stroke_width: '1.5'
    )
    s.path(
      d: 'M7 17.842C7.60158 18.0229 8.27434 18.1718 9 18.282',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round'
    )
    s.path(
      d: 'M20 5V19C20 20.6569 16.4183 22 12 22C7.58172 22 4 20.6569 4 19V5',
      stroke: 'currentColor',
      stroke_width: '1.5'
    )
  end
end