lib/ustyle/helpers/icon_helper.rb in reustyle-2.0.9 vs lib/ustyle/helpers/icon_helper.rb in reustyle-2.0.10
- old
+ new
@@ -1,8 +1,8 @@
require_relative '../utils'
-module Ustyle
+module Reustyle
module Helpers
module Icons
def self.icon(name, size, color, role ='presentation', pseudo = false, classes = [])
"
<svg class='us-icon--#{name} us-icon--#{color} us-icon--#{size} #{pseudo ? "us-icon--#{pseudo}" : ""} #{classes.join(' ') unless classes.nil?}' role='#{role}' xmlns='http://www.w3.org/2000/svg'>
@@ -10,6 +10,6 @@
</svg>
"
end
end
end
-end
\ No newline at end of file
+end