Sha256: 4cc84cbcb08fb67f7ca373ff20d073c75b1643cc68ebe78c94e2dc1629346d2f

Contents?: true

Size: 1.66 KB

Versions: 12

Compression:

Stored size: 1.66 KB

Contents

# frozen_string_literal: true

module Phlex
  module Icons
    module Tabler
      class Barbell < 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:
                'M4 7a1 1 0 0 1 1 1v8a1 1 0 0 1 -2 0v-3h-1a1 1 0 0 1 0 -2h1v-3a1 1 0 0 1 1 -1'
            )
            s.path(
              d:
                'M20 7a1 1 0 0 1 1 1v3h1a1 1 0 0 1 0 2h-1v3a1 1 0 0 1 -2 0v-8a1 1 0 0 1 1 -1'
            )
            s.path(
              d:
                'M16 5a2 2 0 0 1 2 2v10a2 2 0 1 1 -4 0v-4h-4v4a2 2 0 1 1 -4 0v-10a2 2 0 1 1 4 0v4h4v-4a2 2 0 0 1 2 -2'
            )
          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: 'M2 12h1')
            s.path(d: 'M6 8h-2a1 1 0 0 0 -1 1v6a1 1 0 0 0 1 1h2')
            s.path(
              d:
                'M6 7v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1 -1v-10a1 1 0 0 0 -1 -1h-1a1 1 0 0 0 -1 1z'
            )
            s.path(d: 'M9 12h6')
            s.path(
              d:
                'M15 7v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1 -1v-10a1 1 0 0 0 -1 -1h-1a1 1 0 0 0 -1 1z'
            )
            s.path(d: 'M18 8h2a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-2')
            s.path(d: 'M22 12h-1')
          end
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

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