Class: PhlexIcons::Tabler::BrandReddit

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

Instance Method Details

#filledObject

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/phlex-icons/tabler/brand_reddit.rb', line 7

def filled
  raise NotImplementedError
end

#outlineObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/phlex-icons/tabler/brand_reddit.rb', line 11

def outline
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    viewbox: '0 0 24 24',
    fill: 'none',
    stroke: 'currentColor',
    stroke_width: '2',
    stroke_linecap: 'round',
    stroke_linejoin: 'round'
  ) do |s|
    s.path(
      d:
        'M12 8c2.648 0 5.028 .826 6.675 2.14a2.5 2.5 0 0 1 2.326 4.36c0 3.59 -4.03 6.5 -9 6.5c-4.875 0 -8.845 -2.8 -9 -6.294l-1 -.206a2.5 2.5 0 0 1 2.326 -4.36c1.646 -1.313 4.026 -2.14 6.674 -2.14z'
    )
    s.path(d: 'M12 8l1 -5l6 1')
    s.path(d: 'M19 4m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0')
    s.circle(cx: '9', cy: '13', r: '.5', fill: 'currentColor')
    s.circle(cx: '15', cy: '13', r: '.5', fill: 'currentColor')
    s.path(d: 'M10 17c.667 .333 1.333 .5 2 .5s1.333 -.167 2 -.5')
  end
end