Use single quotes and update krankerl.toml

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-05-12 13:19:03 +02:00
parent c4dfb75b3a
commit dd008f0895
7 changed files with 17 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ app.filter('iconWhiteFilter', function () {
b: parseInt(result[3], 16)
} : null;
if (result === null) {
return "";
return '';
}
var r = color.r / 255;
var g = color.g / 255;
@@ -59,9 +59,9 @@ app.filter('iconWhiteFilter', function () {
h /= 6;
}
if (l < 0.5) {
return "-white";
return '-white';
} else {
return "";
return '';
}
};
});

View File

@@ -30,9 +30,9 @@ app.filter('lightenColorFilter', function() {
b: parseInt(result[3], 16)
} : null;
if (result !== null) {
return "rgba(" + color.r + "," + color.g + "," + color.b + ",0.7)";
return 'rgba(' + color.r + ',' + color.g + ',' + color.b + ',0.7)';
} else {
return "#" + hex;
return '#' + hex;
}
};
});
});

View File

@@ -57,12 +57,12 @@ app.filter('textColorFilter', function () {
h /= 6;
}
if (l < 0.5) {
return "#ffffff";
return '#ffffff';
} else {
return "#000000";
return '#000000';
}
} else {
return "#000000";
return '#000000';
}
};