Sha256: 3b8078e653fe5a5bf746e258528df084d7b96380ca0a0b08343a3e3d96ee19cf

Contents?: true

Size: 1.47 KB

Versions: 25

Compression:

Stored size: 1.47 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Flag
      class EsPv < Base
        def square
          svg(
            class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
          ) do |s|
            s.path(fill: '#d52b1e', d: 'M0 0h512v512H0z')
            s.path(
              fill: '#009b48',
              d:
                'M0 0h42.5l106.7 106.7L256 213.4 469.5 0H512v42.5L405.3 149.2 298.6 256 512 469.5V512h-42.5L362.8 405.3 256 298.6 42.5 512H0v-42.5l106.7-106.7L213.4 256 0 42.5V21.3z'
            )
            s.path(
              fill: '#fff',
              d: 'M221.9 0h68.2v221.9H512v68.2H290.1V512h-68.2V290.1H0v-68.2h221.9v-111z'
            )
          end
        end

        def rectangle
          svg(
            class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
          ) do |s|
            s.path(fill: '#D52B1E', d: 'M0 0h640v480H0z')
            s.path(
              fill: '#009B48',
              d:
                'M0 0h53.1l133.4 100.1 133.5 100L586.9 0H640v39.9l-133.4 100L373.2 240 640 440.2V480h-53.1L453.5 380A69411.7 69411.7 0 0 0 320 279.9L53.1 480H0v-39.8l133.4-100.1L266.8 240 0 39.9v-20z'
            )
            s.path(
              fill: '#FFF',
              d: 'M288.1 0h63.8v208.1H640v63.8H351.9V480h-63.8V271.9H0v-63.8h288.1v-104z'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
phlex-icons-flag-0.17.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.17.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-flag-0.16.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.16.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-flag-0.15.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.15.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-flag-0.14.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.14.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-flag-0.13.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.13.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.12.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-flag-0.12.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-flag-0.11.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.11.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.10.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-flag-0.9.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.9.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.8.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.7.0 lib/phlex/icons/flag/es_pv.rb
phlex-icons-0.6.0 lib/phlex/icons/flag/es_pv.rb