Sha256: 1b91acfd9ef541c184908ae9e1779179a66c66cce8f924cf1d267fc4a41d5eb2

Contents?: true

Size: 955 Bytes

Versions: 25

Compression:

Stored size: 955 Bytes

Contents

# frozen_string_literal: true

module Phlex
  module Icons
    module Flag
      class Hu < Base
        def square
          svg(
            class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
          ) do |s|
            s.g(fill_rule: 'evenodd') do
              s.path(fill: '#fff', d: 'M512 512H0V0h512z')
              s.path(fill: '#388d00', d: 'M512 512H0V341.3h512z')
              s.path(fill: '#d43516', d: 'M512 170.8H0V.1h512z')
            end
          end
        end

        def rectangle
          svg(
            class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
          ) do |s|
            s.g(fill_rule: 'evenodd') do
              s.path(fill: '#fff', d: 'M640 480H0V0h640z')
              s.path(fill: '#388d00', d: 'M640 480H0V320h640z')
              s.path(fill: '#d43516', d: 'M640 160.1H0V.1h640z')
            end
          end
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
phlex-icons-0.5.0 lib/phlex/icons/flag/hu.rb
phlex-icons-0.4.0 lib/phlex/icons/flag/hu.rb
phlex-icons-0.3.0 lib/phlex/icons/flag/hu.rb
phlex-icons-0.2.0 lib/phlex/icons/flag/hu.rb
phlex-icons-0.1.0 lib/phlex/icons/flag/hu.rb