more theme updates

This commit is contained in:
Fabian Jakobs 2011-12-13 18:03:56 +01:00
commit a2ed7d8b14
3 changed files with 8 additions and 12 deletions

View file

@ -143,7 +143,7 @@ function extractStyles(theme) {
colors.isDark = (luma(colors.background) < 0.5) + "";
return colors;
}
};
function luma(color) {
if (color[0]=="#")