lib/phlex/icons/flag/kg.rb in phlex-icons-0.17.0 vs lib/phlex/icons/flag/kg.rb in phlex-icons-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Kg < 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.defs do
s.clipPath(id: 'kg-a') do
s.path(fill_opacity: '.7', d: 'M104 0h416.3v416.3H104.1z')
end
@@ -46,10 +46,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: 'kg-a') do
s.path(fill_opacity: '.7', d: 'M-85 0h682.7v512H-85z')
end