lib/phlex/icons/flag/pc.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/pc.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Pc < 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: %(#003da5), d: %(M0 0h512v512H0z))
s.use('xlink:href': %(#pc-a), width: %(1000), height: %(700), transform: %(rotate(164.3 247 258.3)))
s.path(id: %(pc-a), fill: %(#fff), fill_opacity: %(1), fill_rule: %(nonzero), stroke: %(none), stroke_width: %(.7), d: %(m419 280.3-8.9 1.7-1.1 9-4.4-8-9 1.7 6.3-6.6-4.4-8 8.2 3.9 6.3-6.7-1.2 9z))
s.use('xlink:href': %(#pc-a), width: %(1000), height: %(700), transform: %(rotate(-10.3 247 258.3)))
@@ -43,10 +43,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: %(#003da5), d: %(M0 0h640v480H0z))
s.use('xlink:href': %(#pc-a), width: %(1000), height: %(700), transform: %(rotate(164.3 311.5 242.2)))
s.path(id: %(pc-a), fill: %(#fff), fill_opacity: %(1), fill_rule: %(nonzero), stroke: %(none), stroke_width: %(.7), d: %(m472.9 262.8-8.4 1.5-1.1 8.5-4.1-7.5-8.4 1.6 5.8-6.2-4-7.5 7.7 3.6 5.8-6.2-1 8.5z))
s.use('xlink:href': %(#pc-a), width: %(1000), height: %(700), transform: %(rotate(-10.3 311.5 242.2)))