lib/phlex/icons/flag/vc.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/vc.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Vc < 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.g(fill_rule: 'evenodd', stroke_width: '1pt') do
s.path(fill: '#f4f100', d: 'M0 0h510.4v512H0z')
s.path(fill: '#199a00', d: 'M385.6 0H512v512H385.6z')
s.path(fill: '#0058aa', d: 'M0 0h126.4v512H0z')
@@ -23,10 +23,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: '#f4f100', d: 'M0 0h640v480H0z')
s.path(fill: '#199a00', d: 'M490 0h150v480H490z')
s.path(fill: '#0058aa', d: 'M0 0h150v480H0z')