lib/phlex/icons/flag/li.rb in phlex-icons-0.17.0 vs lib/phlex/icons/flag/li.rb in phlex-icons-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Li < 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: %(#002b7f), d: %(M0 0h512.1v256H0z))
s.path(fill: %(#ce1126), d: %(M0 256h512.1v256H0z))
s.g(fill: %(#ffd83d), stroke: %(#000), stroke_linecap: %(round), stroke_linejoin: %(round), stroke_width: %(2), transform: %(translate(-54)scale(.85333))) do
s.g(id: %(li-a)) do
@@ -53,10 +53,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: %(#002b7f), d: %(M0 0h640v240H0z))
s.path(fill: %(#ce1126), d: %(M0 240h640v240H0z))
s.g(fill: %(#ffd83d), stroke: %(#000), stroke_linecap: %(round), stroke_linejoin: %(round), stroke_width: %(2), transform: %(scale(.8))) do
s.g(id: %(li-a)) do