Sha256: 23fe222998b715e7668c20ec2c8ffbd37bd28cf7d54d35226c192eca3446823e

Contents?: true

Size: 1.01 KB

Versions: 18

Compression:

Stored size: 1.01 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Flag
      class Bh < Base
        def square
          svg(
            **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
          ) do |s|
            s.path(fill: '#fff', d: 'M0 0h512v512H0')
            s.path(
              fill: '#ce1126',
              d:
                'M512 0H102.4l83.4 51.2-83.4 51.2 83.4 51.2-83.4 51.2 83.4 51.2-83.4 51.2 83.4 51.2-83.4 51.2 83.4 51.2-83.4 51.2H512'
            )
          end
        end

        def rectangle
          svg(
            **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
          ) do |s|
            s.path(fill: '#fff', d: 'M0 0h640v480H0')
            s.path(
              fill: '#ce1126',
              d:
                'M640 0H96l110.7 48L96 96l110.7 48L96 192l110.7 48L96 288l110.7 48L96 384l110.7 48L96 480h544'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

18 entries across 18 versions & 2 rubygems

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