generators/remix.rb in phlex-icons-0.17.0 vs generators/remix.rb in phlex-icons-1.0.0
- old
+ new
@@ -55,9 +55,9 @@
def read_and_convert_icon(icon_file_path)
icon_file_content = File.read(icon_file_path)
Phlexing::Converter.convert(icon_file_content)
- .sub('svg(', "svg(\nclass: classes,")
+ .sub('svg(', "svg(\n**attrs,")
end
main if __FILE__ == $PROGRAM_NAME