Sha256: a0ffe6b0dc5fd211a33f64b8ba505ddbbf80259464961e6770e3029dc5f0f78c

Contents?: true

Size: 1.63 KB

Versions: 12

Compression:

Stored size: 1.63 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength,Metrics/MethodLength
module Phlex
  module Icons
    module Tabler
      class BarrierBlock < 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:
                'M15 21a1 1 0 0 1 0 -2h1v-2h-8v2h1a1 1 0 0 1 0 2h-4a1 1 0 0 1 0 -2h1v-2h-1a2 2 0 0 1 -2 -2v-7a2 2 0 0 1 2 -2h1v-1a1 1 0 1 1 2 0v1h8v-1a1 1 0 0 1 2 0v1h1a2 2 0 0 1 2 2v7a2 2 0 0 1 -2 2h-1v2h1a1 1 0 0 1 0 2zm-2.086 -13l-7 7h4.17l6.916 -7zm6.086 2.914l-4.086 4.086h4.086zm-10.916 -2.914h-3.084v3.084z'
            )
          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:
                'M4 7m0 1a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v7a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1z'
            )
            s.path(d: 'M7 16v4')
            s.path(d: 'M7.5 16l9 -9')
            s.path(d: 'M13.5 16l6.5 -6.5')
            s.path(d: 'M4 13.5l6.5 -6.5')
            s.path(d: 'M17 16v4')
            s.path(d: 'M5 20h4')
            s.path(d: 'M15 20h4')
            s.path(d: 'M17 7v-2')
            s.path(d: 'M7 7v-2')
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength,Metrics/MethodLength

Version data entries

12 entries across 12 versions & 2 rubygems

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