Sha256: 0a79e0b478d880c504cff7391d6ec87505a42be1af58801c98007c393feee2af

Contents?: true

Size: 1.4 KB

Versions: 14

Compression:

Stored size: 1.4 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class AspectRatio < Base
        def filled
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M19 4h-14a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3zm-10 3a1 1 0 0 1 .117 1.993l-.117 .007h-2v2a1 1 0 0 1 -.883 .993l-.117 .007a1 1 0 0 1 -.993 -.883l-.007 -.117v-3a1 1 0 0 1 .883 -.993l.117 -.007h3zm9 5a1 1 0 0 1 .993 .883l.007 .117v3a1 1 0 0 1 -.883 .993l-.117 .007h-3a1 1 0 0 1 -.117 -1.993l.117 -.007h2v-2a1 1 0 0 1 .883 -.993l.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:
                'M3 5m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z'
            )
            s.path(d: 'M7 12v-3h3')
            s.path(d: 'M17 12v3h-3')
          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/aspect_ratio.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/aspect_ratio.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/aspect_ratio.rb