Class: PhlexIcons::Bootstrap::FileEarmarkDiff

Inherits:
Base show all
Defined in:
lib/phlex-icons/bootstrap/file_earmark_diff.rb

Instance Attribute Summary

Attributes inherited from PhlexIcons::Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from PhlexIcons::Base

#initialize

Constructor Details

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

Instance Method Details

#view_templateObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/phlex-icons/bootstrap/file_earmark_diff.rb', line 7

def view_template
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    fill: 'currentColor',
    viewbox: '0 0 16 16'
  ) do |s|
    s.path(
      d:
        'M8 5a.5.5 0 0 1 .5.5V7H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V8H6a.5.5 0 0 1 0-1h1.5V5.5A.5.5 0 0 1 8 5m-2.5 6.5A.5.5 0 0 1 6 11h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5'
    )
    s.path(
      d:
        'M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2M9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5z'
    )
  end
end