Adjust to new sidebar style and fix wallpaper

This commit is contained in:
Motschen
2023-05-30 20:33:52 +02:00
parent d5b815b413
commit fd682396ed
2 changed files with 40 additions and 7 deletions

View File

@@ -41,7 +41,7 @@
var defImage = `https://github.com/Motschen/Retroblur/blob/main/assets/background_purple.jpg?raw=true`;
console.log("(Retroblur) Button color is '"+getComputedStyle(document.body).getPropertyValue("--spice-button")+"'")
const marketplaceSchemeCSS = await waitForMarketplaceColors();
const marketplaceSchemeCSS = null;//await waitForMarketplaceColors();
const buttonColor = marketplaceSchemeCSS == null ? getComputedStyle(document.body).getPropertyValue("--spice-button") : getComputedStyle(marketplaceSchemeCSS).getPropertyValue("--spice-button");
switch (buttonColor) {
case " #00bbff": {