Sha256: 75e2434ea91c6f2b5cfa177f8c1a079d9bac521d0c81320bdd4f9aa4548f4438

Contents?: true

Size: 1.53 KB

Versions: 25

Compression:

Stored size: 1.53 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Envelope < 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:
                'M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z'
            )
            s.path(
              d:
                'M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z'
            )
          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:
                'M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75'
            )
          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/envelope.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/envelope.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/envelope.rb