Sha256: 554452891a51f71c23613443e3f4392bc44b80586539b86869f085a5fa99546f

Contents?: true

Size: 1.19 KB

Versions: 14

Compression:

Stored size: 1.19 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Filter < Base
        def filled
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M20 3h-16a1 1 0 0 0 -1 1v2.227l.008 .223a3 3 0 0 0 .772 1.795l4.22 4.641v8.114a1 1 0 0 0 1.316 .949l6 -2l.108 -.043a1 1 0 0 0 .576 -.906v-6.586l4.121 -4.12a3 3 0 0 0 .879 -2.123v-2.171a1 1 0 0 0 -1 -1z'
            )
          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:
                'M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z'
            )
          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/filter.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/filter.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/filter.rb