Sha256: af997ab44f66a8c1ff4d72943a6b09d0e28f5048f28b644ca6e0b86f3398f32e

Contents?: true

Size: 1.17 KB

Versions: 18

Compression:

Stored size: 1.17 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Heart < Base
        def filled
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z'
            )
          end
        end

        def outline
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'none',
            stroke: 'currentColor',
            stroke_width: '2',
            stroke_linecap: 'round',
            stroke_linejoin: 'round'
          ) do |s|
            s.path(
              d:
                'M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
phlex-icons-tabler-1.8.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.8.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.7.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-tabler-1.7.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-tabler-1.6.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/heart.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/heart.rb