update styles

This commit is contained in:
end-4
2024-03-19 18:24:46 +07:00
parent d686e588b8
commit 834f8dd208
11 changed files with 92 additions and 145 deletions
@@ -251,6 +251,7 @@ const WaifuImage = (taglist) => {
else Utils.execAsync(['bash', '-c', `wget -O '${thisBlock.attribute.imagePath}' '${url}'`])
.then(showImage)
.catch(print);
console.log(`background-color: mix(${darkMode ? 'black' : 'white'}, ${dominant_color}, 0.97);`);
thisBlock.css = `background-color: mix(${darkMode ? 'black' : 'white'}, ${dominant_color}, 0.97);`;
},
},