sidebar: minor tweaks

This commit is contained in:
end-4
2024-03-19 17:47:15 +07:00
parent 239e545ecb
commit c5d4c6f76e
2 changed files with 3 additions and 2 deletions
@@ -369,6 +369,7 @@ const booruTags = Revealer({
child: Box({ child: Box({
className: 'spacing-h-5', className: 'spacing-h-5',
children: [ children: [
CommandButton('*'),
CommandButton('hololive'), CommandButton('hololive'),
] ]
}) })
+1 -1
View File
@@ -251,7 +251,7 @@ const WaifuImage = (taglist) => {
else Utils.execAsync(['bash', '-c', `wget -O '${thisBlock.attribute.imagePath}' '${url}'`]) else Utils.execAsync(['bash', '-c', `wget -O '${thisBlock.attribute.imagePath}' '${url}'`])
.then(showImage) .then(showImage)
.catch(print); .catch(print);
thisBlock.css = `background-color: mix(${darkMode ? 'black' : 'white'}, ${dominant_color}, 0.9);`; thisBlock.css = `background-color: mix(${darkMode ? 'black' : 'white'}, ${dominant_color}, 0.97);`;
}, },
}, },
children: [ children: [