Sha256: 1fa2fe90ea53909e814384e0858b201c90752c315f0e65d7c9dbec62651186a6

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 Eye < 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(d: 'M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z')
            s.path(
              fill_rule: 'evenodd',
              d:
                'M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 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.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z'
            )
            s.path(
              stroke_linecap: 'round',
              stroke_linejoin: 'round',
              d: 'M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 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/eye.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/eye.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/eye.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/eye.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/eye.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/eye.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/eye.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/eye.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/eye.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/eye.rb