💄 bazaar

This commit is contained in:
Vanessa 2023-05-14 10:09:11 +08:00
parent e6923bdebc
commit 518ce94912
2 changed files with 3 additions and 7 deletions

View file

@ -224,7 +224,7 @@
}
&__readme {
margin-top: 32px;
margin-top: 24px;
position: relative;
}

View file

@ -311,11 +311,7 @@ export const bazaar = {
urls.pop();
let navTitle = window.siyuan.languages.icon;
if (bazaarType === "themes") {
if (data.modes.includes("dark")) {
navTitle = window.siyuan.languages.themeDark + " " + window.siyuan.languages.theme;
} else {
navTitle = window.siyuan.languages.themeLight + " " + window.siyuan.languages.theme;
}
navTitle = window.siyuan.languages.theme;
} else if (bazaarType === "widgets") {
navTitle = window.siyuan.languages.widget;
} else if (bazaarType === "templates") {