Sha256: 656a113173edf698b5082d2670e753f38f748753e4a58d6fd1a3db31ae83ea15

Contents?: true

Size: 1.72 KB

Versions: 12

Compression:

Stored size: 1.72 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Gift < Base
        def filled
          svg(
            class: classes,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M11 14v8h-4a3 3 0 0 1 -3 -3v-4a1 1 0 0 1 1 -1h6zm8 0a1 1 0 0 1 1 1v4a3 3 0 0 1 -3 3h-4v-8h6zm-2.5 -12a3.5 3.5 0 0 1 3.163 5h.337a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-7v-5h-2v5h-7a2 2 0 0 1 -2 -2v-1a2 2 0 0 1 2 -2h.337a3.486 3.486 0 0 1 -.337 -1.5c0 -1.933 1.567 -3.5 3.483 -3.5c1.755 -.03 3.312 1.092 4.381 2.934l.136 .243c1.033 -1.914 2.56 -3.114 4.291 -3.175l.209 -.002zm-9 2a1.5 1.5 0 0 0 0 3h3.143c-.741 -1.905 -1.949 -3.02 -3.143 -3zm8.983 0c-1.18 -.02 -2.385 1.096 -3.126 3h3.143a1.5 1.5 0 1 0 -.017 -3z'
            )
          end
        end

        def outline
          svg(
            class: classes,
            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:
                'M3 8m0 1a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1z'
            )
            s.path(d: 'M12 8l0 13')
            s.path(d: 'M19 12v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-7')
            s.path(
              d:
                'M7.5 8a2.5 2.5 0 0 1 0 -5a4.8 8 0 0 1 4.5 5a4.8 8 0 0 1 4.5 -5a2.5 2.5 0 0 1 0 5'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
phlex-icons-tabler-0.17.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-0.17.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-tabler-0.16.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-0.16.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-tabler-0.15.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-0.15.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-tabler-0.14.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-0.14.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-tabler-0.13.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-0.13.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-0.12.0 lib/phlex/icons/tabler/gift.rb
phlex-icons-tabler-0.12.0 lib/phlex/icons/tabler/gift.rb