lib/phlex/icons/flag/vg.rb in phlex-icons-0.17.0 vs lib/phlex/icons/flag/vg.rb in phlex-icons-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Vg < 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.defs do
s.linearGradient(id: %(vg-a), x1: %(103.1), x2: %(92.6), y1: %(111.3), y2: %(107.8), gradienttransform: %(matrix(.99614 0 0 2.25255 703.8 -75)), gradientunits: %(userSpaceOnUse)) do
s.stop(offset: %(0), stop_color: %(red))
s.stop(offset: %(1), stop_color: %(#ff0))
@@ -69,10 +69,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.defs do
s.linearGradient(id: %(vg-a), x1: %(103.1), x2: %(92.6), y1: %(111.3), y2: %(107.8), gradienttransform: %(matrix(.99614 0 0 2.25255 703.8 -75)), gradientunits: %(userSpaceOnUse)) do
s.stop(offset: %(0), stop_color: %(red))
s.stop(offset: %(1), stop_color: %(#ff0))