Sha256: 79b95730027525ee2f3733415f111d5ce46a8f83b2d64322baa86ae7f7d7eab5

Contents?: true

Size: 1.49 KB

Versions: 14

Compression:

Stored size: 1.49 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class AlertTriangle < Base
        def filled
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M12 1.67c.955 0 1.845 .467 2.39 1.247l.105 .16l8.114 13.548a2.914 2.914 0 0 1 -2.307 4.363l-.195 .008h-16.225a2.914 2.914 0 0 1 -2.582 -4.2l.099 -.185l8.11 -13.538a2.914 2.914 0 0 1 2.491 -1.403zm.01 13.33l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -7a1 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: 'M12 9v4')
            s.path(
              d:
                'M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z'
            )
            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_triangle.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/alert_triangle.rb