aboutsummaryrefslogtreecommitdiff
path: root/icon.html
diff options
context:
space:
mode:
Diffstat (limited to 'icon.html')
-rw-r--r--icon.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/icon.html b/icon.html
index 5b322fc..3ab7760 100644
--- a/icon.html
+++ b/icon.html
@@ -23,7 +23,7 @@
<script>
function createImageLink(size, logoFontSize, logoX, logoY) {
- var colors = {'#333' : 'active', '#bbb' : 'disabled', 'green' : 'redirected'};
+ var colors = {'#333' : 'active', '#bbb' : 'disabled'};
for (var color in colors) {
var canvas = document.createElement('canvas');
canvas.width = canvas.height = size;
@@ -37,7 +37,7 @@
var img = document.createElement('img');
img.src = canvas.toDataURL();
a.href = canvas.toDataURL();
- a.download = 'icon' + size + colors[color] + '.png';
+ a.download = 'icon-' + colors[color] + '-' + size + '.png';
a.appendChild(img);
a.style.width = size + 'px'
document.body.appendChild(a);
@@ -50,8 +50,8 @@
createImageLink(32, 64, 1, 32);
createImageLink(38, 75, 2, 38);
createImageLink(48, 95, 1, 48);
+ createImageLink(64, 125, 3, 63);
createImageLink(128, 215, 12, 116);
-
});
</script>