Sha256: 56b6f22e281de50beb9421ec611f392a51aeb3124aeb56223b6696379f85c638

Contents?: true

Size: 1.6 KB

Versions: 25

Compression:

Stored size: 1.6 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Flag < 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(
              fill_rule: 'evenodd',
              d:
                'M3 2.25a.75.75 0 0 1 .75.75v.54l1.838-.46a9.75 9.75 0 0 1 6.725.738l.108.054A8.25 8.25 0 0 0 18 4.524l3.11-.732a.75.75 0 0 1 .917.81 47.784 47.784 0 0 0 .005 10.337.75.75 0 0 1-.574.812l-3.114.733a9.75 9.75 0 0 1-6.594-.77l-.108-.054a8.25 8.25 0 0 0-5.69-.625l-2.202.55V21a.75.75 0 0 1-1.5 0V3A.75.75 0 0 1 3 2.25Z',
              clip_rule: 'evenodd'
            )
          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:
                'M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5'
            )
          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/flag.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/flag.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/flag.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/flag.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/flag.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/flag.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/flag.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/flag.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/flag.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/flag.rb