Sha256: 086950fdc2d9239b8882dd1ac374b2098194e6cdb1fbcfda7bec45c3ff4797b2

Contents?: true

Size: 1.51 KB

Versions: 12

Compression:

Stored size: 1.51 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class AlertTriangle < Base
        def filled
          svg(
            class: classes,
            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(
            class: classes,
            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

12 entries across 12 versions & 2 rubygems

Version Path
phlex-icons-tabler-0.17.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-0.17.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-0.16.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-0.16.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-0.15.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-0.15.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-0.14.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-0.14.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-0.13.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-0.13.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-0.12.0 lib/phlex/icons/tabler/alert_triangle.rb
phlex-icons-tabler-0.12.0 lib/phlex/icons/tabler/alert_triangle.rb