lib/phlex/icons/flag/mq.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/mq.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -4,20 +4,20 @@
module Icons
module Flag
class Mq < 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.path(fill: '#231f1e', d: 'M0 0h512v512H0z')
s.path(fill: '#00a650', d: 'M0 0h512v256H0z')
s.path(fill: '#ef1923', d: 'M256 256 0 512V0z')
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.path(fill: '#231f1e', d: 'M0 0h640v480H0z')
s.path(fill: '#00a650', d: 'M0 0h640v240H0z')
s.path(fill: '#ef1923', d: 'm0 0 320 240L0 480z')
end