Sha256: 3e3ac282d5330ce57a0cb276ef288ffe8635e52826da44e79c354f044a8cfcee

Contents?: true

Size: 1.56 KB

Versions: 25

Compression:

Stored size: 1.56 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Heart < 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:
                'm11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z'
            )
          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 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z'
            )
          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/heart.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/heart.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/heart.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/heart.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/heart.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/heart.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/heart.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/heart.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/heart.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/heart.rb