Sha256: 96bce25a86694329b4db66d4ff788cf14d417810b6d9a100a1ae75dff50104b5

Contents?: true

Size: 1.61 KB

Versions: 14

Compression:

Stored size: 1.61 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class InfoTriangle < 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.403zm0 9.33h-1l-.117 .007a1 1 0 0 0 0 1.986l.117 .007v3l.007 .117a1 1 0 0 0 .876 .876l.117 .007h1l.117 -.007a1 1 0 0 0 .876 -.876l.007 -.117l-.007 -.117a1 1 0 0 0 -.764 -.857l-.112 -.02l-.117 -.006v-3l-.007 -.117a1 1 0 0 0 -.876 -.876l-.117 -.007zm.01 -3l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z'
            )
          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:
                '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 9h.01')
            s.path(d: 'M11 12h1v4h1')
          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/info_triangle.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/info_triangle.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/info_triangle.rb