lib/phlex/icons/flag/pt.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/pt.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Pt < 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: %(red), d: %(M204.8 0H512v512H204.7z))
s.path(fill: %(#060), d: %(M0 0h204.8v512H-.1z))
s.g(fill: %(#ff0), fill_rule: %(evenodd), stroke: %(#000), stroke_linecap: %(round), stroke_linejoin: %(round), stroke_width: %(.6)) do
s.path(stroke_width: %(.7), d: %(M293.8 326.6c-34.4-1-192-99.4-193-115.1l8.6-14.5C125 219.7 286.2 315.4 302 312z))
@@ -67,10 +67,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: %(red), d: %(M256 0h384v480H256z))
s.path(fill: %(#060), d: %(M0 0h256v480H0z))
s.g(fill: %(#ff0), fill_rule: %(evenodd), stroke: %(#000), stroke_linecap: %(round), stroke_linejoin: %(round), stroke_width: %(.6)) do
s.path(d: %(M339.5 306.2c-32.3-1-180-93.2-181-108l8.1-13.5c14.7 21.3 165.7 111 180.6 107.8z))