Sha256: 0be49783957eae2e4b51dc8339c0666ff10481a6ec8f802cdb32ace9615bb063

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 Gift < 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:
                'M9.375 3a1.875 1.875 0 0 0 0 3.75h1.875v4.5H3.375A1.875 1.875 0 0 1 1.5 9.375v-.75c0-1.036.84-1.875 1.875-1.875h3.193A3.375 3.375 0 0 1 12 2.753a3.375 3.375 0 0 1 5.432 3.997h3.943c1.035 0 1.875.84 1.875 1.875v.75c0 1.036-.84 1.875-1.875 1.875H12.75v-4.5h1.875a1.875 1.875 0 1 0-1.875-1.875V6.75h-1.5V4.875C11.25 3.839 10.41 3 9.375 3ZM11.25 12.75H3v6.75a2.25 2.25 0 0 0 2.25 2.25h6v-9ZM12.75 12.75v9h6.75a2.25 2.25 0 0 0 2.25-2.25v-6.75h-9Z'
            )
          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 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z'
            )
          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/gift.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/gift.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/gift.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/gift.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/gift.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/gift.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/gift.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/gift.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/gift.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/gift.rb