lib/phlex/icons/flag/pg.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/pg.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Pg < Base
def square
svg(
- class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
+ **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.defs do
s.clipPath(id: 'pg-a') do
s.path(fill_opacity: '.7', d: 'M81.4 0h496v496h-496z')
end
@@ -43,10 +43,10 @@
end
end
def rectangle
svg(
- class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
+ **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.g(fill_rule: 'evenodd') do
s.path(fill: '#000001', d: 'm1.6 0-.5 480h640z')
s.path(fill: 'red', d: 'm640.6 480 .5-480H1.1z')
end