lib/phlex/icons/flag/eh.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/eh.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Eh < Base
def square
svg(
- class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
+ **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.path(fill: '#000001', d: 'M0 0h512v256H0z')
s.path(fill: '#007a3d', d: 'M0 256h512v256H0z')
s.path(fill: '#fff', d: 'M0 149.3h512v213.3H0z')
s.path(fill: '#c4111b', d: 'm0 0 256 256L0 512Z')
@@ -25,10 +25,10 @@
end
end
def rectangle
svg(
- class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
+ **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.defs do
s.clipPath(id: 'eh-a') do
s.path(fill_opacity: '.7', d: 'M-158.7 0H524v512h-682.7z')
end