Class: PhlexIcons::Material::TextFields

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

Instance Method Details

#filledObject



7
8
9
10
11
12
13
14
15
# File 'lib/phlex-icons/material/text_fields.rb', line 7

def filled
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z')
  end
end

#outlinedObject



17
18
19
20
21
22
23
24
25
# File 'lib/phlex-icons/material/text_fields.rb', line 17

def outlined
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z')
  end
end

#roundObject



27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/phlex-icons/material/text_fields.rb', line 27

def round
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(
      d:
        'M2.5 5.5C2.5 6.33 3.17 7 4 7h3.5v10.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V7H14c.83 0 1.5-.67 1.5-1.5S14.83 4 14 4H4c-.83 0-1.5.67-1.5 1.5zM20 9h-6c-.83 0-1.5.67-1.5 1.5S13.17 12 14 12h1.5v5.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V12H20c.83 0 1.5-.67 1.5-1.5S20.83 9 20 9z'
    )
  end
end

#sharpObject



40
41
42
43
44
45
46
47
48
# File 'lib/phlex-icons/material/text_fields.rb', line 40

def sharp
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z')
  end
end

#two_toneObject



50
51
52
53
54
55
56
57
58
# File 'lib/phlex-icons/material/text_fields.rb', line 50

def two_tone
  svg(
    **attrs,
    fill: 'currentColor',
    xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 24 24'
  ) do |s|
    s.path(d: 'M12.5 12h3v7h3v-7h3V9h-9zm3-8h-13v3h5v12h3V7h5z')
  end
end