fix themes
This commit is contained in:
parent
f90776fd3d
commit
fcc497e64b
|
@ -277,7 +277,7 @@ module.exports.uninstall = function() {
|
||||||
}
|
}
|
||||||
let css = `.th-${manifest.theme.name} {\n`;
|
let css = `.th-${manifest.theme.name} {\n`;
|
||||||
for (const el of document.querySelectorAll('input[type=color]')) {
|
for (const el of document.querySelectorAll('input[type=color]')) {
|
||||||
css += el.id.replace('color-', ' --') + 'color: ' + el.value + '\n';
|
css += el.id.replace('color-', ' --') + '-color: ' + el.value + '\n';
|
||||||
}
|
}
|
||||||
css += '}';
|
css += '}';
|
||||||
return css;
|
return css;
|
||||||
|
|
Loading…
Reference in New Issue