Sha256: bcfbb8f636ad1ddc3a91c148fd2b13462d086d3344131480b502b868804a91e4

Contents?: true

Size: 1.21 KB

Versions: 14

Compression:

Stored size: 1.21 KB

Contents

# frozen_string_literal: true

module Phlex
  module Icons
    module Flag
      class Ss < Base
        def square
          svg(
            **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
          ) do |s|
            s.path(fill: '#078930', d: 'M0 358.4h512V512H0z')
            s.path(fill: '#fff', d: 'M0 153.6h512v204.8H0z')
            s.path(fill: '#000001', d: 'M0 0h512v153.6H0z')
            s.path(fill: '#da121a', d: 'M0 179.2h512v153.6H0z')
            s.path(fill: '#0f47af', d: 'm0 0 433 256L0 512z')
            s.path(fill: '#fcdd09', d: 'M209 207.8 64.4 256l144.8 48.1-89.5-126v155.8z')
          end
        end

        def rectangle
          svg(
            **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
          ) do |s|
            s.path(fill: '#078930', d: 'M0 336h640v144H0z')
            s.path(fill: '#fff', d: 'M0 144h640v192H0z')
            s.path(fill: '#000001', d: 'M0 0h640v144H0z')
            s.path(fill: '#da121a', d: 'M0 168h640v144H0z')
            s.path(fill: '#0f47af', d: 'm0 0 415.7 240L0 480z')
            s.path(fill: '#fcdd09', d: 'M200.7 194.8 61.7 240l139 45.1L114.9 167v146z')
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

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