Sha256: d9db69f4803e906f842cd6d9f722d91429b092f118e3f1a50a8d786bdca50118

Contents?: true

Size: 1.77 KB

Versions: 25

Compression:

Stored size: 1.77 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Phone < 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 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z',
              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 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'
            )
          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/phone.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/phone.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/phone.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/phone.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/phone.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/phone.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/phone.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/phone.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/phone.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/phone.rb