diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 5d399a09..a34b3cf7 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -345,9 +345,10 @@ Ox.load.UI = function(options, callback) { Ox.forEach(colors[type], function(name, hex) { image = image.replace( new RegExp(hex, 'g'), - '#' + Ox.toHex(themeData[name]) + '$' + Ox.toHex(themeData[name]) ); }); + image = image.replace(/$/g, '#'); return 'data:image/svg+xml;base64,' + btoa( image + '