Sha256: 5bd301c0db0f031db04430d9fa47542bb7c63352ad571d618bfab926f265825b

Contents?: true

Size: 1.75 KB

Versions: 25

Compression:

Stored size: 1.75 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Photo < Base
        def solid
          svg(
            class: classes,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor',
            aria_hidden: 'true',
            data_slot: 'icon'
          ) do |s|
            s.path(
              fill_rule: 'evenodd',
              d:
                'M1.5 6a2.25 2.25 0 0 1 2.25-2.25h16.5A2.25 2.25 0 0 1 22.5 6v12a2.25 2.25 0 0 1-2.25 2.25H3.75A2.25 2.25 0 0 1 1.5 18V6ZM3 16.06V18c0 .414.336.75.75.75h16.5A.75.75 0 0 0 21 18v-1.94l-2.69-2.689a1.5 1.5 0 0 0-2.12 0l-.88.879.97.97a.75.75 0 1 1-1.06 1.06l-5.16-5.159a1.5 1.5 0 0 0-2.12 0L3 16.061Zm10.125-7.81a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z',
              clip_rule: 'evenodd'
            )
          end
        end

        def outline
          svg(
            class: classes,
            xmlns: 'http://www.w3.org/2000/svg',
            fill: 'none',
            viewbox: '0 0 24 24',
            stroke_width: '1.5',
            stroke: 'currentColor',
            aria_hidden: 'true',
            data_slot: 'icon'
          ) do |s|
            s.path(
              stroke_linecap: 'round',
              stroke_linejoin: 'round',
              d:
                'm2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
phlex-icons-0.17.0 lib/phlex/icons/hero/photo.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/photo.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/photo.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/photo.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/photo.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/photo.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/photo.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/photo.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/photo.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/photo.rb