Sha256: 22995222e65bf33a86bcfae3d7f8aa2aaac8f36f38d125fc0b5e02d98012b335

Contents?: true

Size: 1.77 KB

Versions: 14

Compression:

Stored size: 1.77 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class AlertHexagon < Base
        def filled
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M10.425 1.414a3.33 3.33 0 0 1 3.026 -.097l.19 .097l6.775 3.995l.096 .063l.092 .077l.107 .075a3.224 3.224 0 0 1 1.266 2.188l.018 .202l.005 .204v7.284c0 1.106 -.57 2.129 -1.454 2.693l-.17 .1l-6.803 4.302c-.918 .504 -2.019 .535 -3.004 .068l-.196 -.1l-6.695 -4.237a3.225 3.225 0 0 1 -1.671 -2.619l-.007 -.207v-7.285c0 -1.106 .57 -2.128 1.476 -2.705l6.95 -4.098zm1.585 13.586l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z'
            )
          end
        end

        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:
                'M19.875 6.27c.7 .398 1.13 1.143 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033z'
            )
            s.path(d: 'M12 8v4')
            s.path(d: 'M12 16h.01')
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
phlex-icons-tabler-1.6.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/alert_hexagon.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/alert_hexagon.rb