lib/phlex/icons/flag/gi.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/gi.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Gi < Base
def square
svg(
- class: classes, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 512 512), 'xmlns:xlink': %(http://www.w3.org/1999/xlink)
+ **attrs, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 512 512), 'xmlns:xlink': %(http://www.w3.org/1999/xlink)
) do |s|
s.path(fill: %(#da000c), d: %(M0 0h512v512H0z))
s.path(fill: %(#fff), d: %(M0 0h512v343H0z))
s.g(stroke: %(#000), transform: %(matrix(2 0 0 2 -256 0))) do
s.g(id: %(gi-a), fill: %(#da000c), stroke_linecap: %(square)) do
@@ -42,10 +42,10 @@
end
end
def rectangle
svg(
- class: classes, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 640 480), 'xmlns:xlink': %(http://www.w3.org/1999/xlink)
+ **attrs, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 640 480), 'xmlns:xlink': %(http://www.w3.org/1999/xlink)
) do |s|
s.path(fill: %(#da000c), d: %(M0 0h640v480H0z))
s.path(fill: %(#fff), d: %(M0 0h640v321.6H0z))
s.g(stroke: %(#000), transform: %(translate(-160)scale(1.875))) do
s.g(id: %(gi-a), fill: %(#da000c), stroke_linecap: %(square)) do