Sha256: 004c3f14450469291cbbfed838172c2c0b00cfb267e92eeae734c111e7d10290

Contents?: true

Size: 1.23 KB

Versions: 12

Compression:

Stored size: 1.23 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Tabler
      class Flag < 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:
                'M4 5a1 1 0 0 1 .3 -.714a6 6 0 0 1 8.213 -.176l.351 .328a4 4 0 0 0 5.272 0l.249 -.227c.61 -.483 1.527 -.097 1.61 .676l.005 .113v9a1 1 0 0 1 -.3 .714a6 6 0 0 1 -8.213 .176l-.351 -.328a4 4 0 0 0 -5.136 -.114v6.552a1 1 0 0 1 -1.993 .117l-.007 -.117v-16z'
            )
          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: 'M5 5a5 5 0 0 1 7 0a5 5 0 0 0 7 0v9a5 5 0 0 1 -7 0a5 5 0 0 0 -7 0v-9z'
            )
            s.path(d: 'M5 21v-7')
          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/flag.rb
phlex-icons-0.17.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-tabler-0.16.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-0.16.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-tabler-0.15.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-0.15.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-tabler-0.14.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-0.14.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-tabler-0.13.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-0.13.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-0.12.0 lib/phlex/icons/tabler/flag.rb
phlex-icons-tabler-0.12.0 lib/phlex/icons/tabler/flag.rb