Sha256: 3cf435c892621bd2e4cd9ad4e1b17d02615f8817c3f9c5fe5f1ded2d52f537ac

Contents?: true

Size: 1.77 KB

Versions: 12

Compression:

Stored size: 1.77 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Photo < 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:
                'M8.813 11.612c.457 -.38 .918 -.38 1.386 .011l.108 .098l4.986 4.986l.094 .083a1 1 0 0 0 1.403 -1.403l-.083 -.094l-1.292 -1.293l.292 -.293l.106 -.095c.457 -.38 .918 -.38 1.386 .011l.108 .098l4.674 4.675a4 4 0 0 1 -3.775 3.599l-.206 .005h-12a4 4 0 0 1 -3.98 -3.603l6.687 -6.69l.106 -.095zm9.187 -9.612a4 4 0 0 1 3.995 3.8l.005 .2v9.585l-3.293 -3.292l-.15 -.137c-1.256 -1.095 -2.85 -1.097 -4.096 -.017l-.154 .14l-.307 .306l-2.293 -2.292l-.15 -.137c-1.256 -1.095 -2.85 -1.097 -4.096 -.017l-.154 .14l-5.307 5.306v-9.585a4 4 0 0 1 3.8 -3.995l.2 -.005h12zm-2.99 5l-.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(
            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: 'M15 8h.01')
            s.path(
              d:
                'M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z'
            )
            s.path(d: 'M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5')
            s.path(d: 'M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3')
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

12 entries across 12 versions & 2 rubygems

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