diff --git a/src/App.scss b/src/App.scss
index caa82e0..20c4a9f 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -96,3 +96,13 @@
width: 100%;
margin-top: 8px;
}
+
+.background {
+ position: fixed;
+ left: 0;
+ top: 0;
+ width: 100vw;
+ height: 100vh;
+ object-fit: cover;
+ z-index: -1;
+}
diff --git a/src/App.tsx b/src/App.tsx
index 541e6de..547dd4c 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -230,7 +230,6 @@ const App: FC = () => {
.then((res) => {
// @ts-ignore
const { content } = res;
-
try {
const customTheme = JSON.parse(content);
if (!customTheme.pure) {
@@ -483,6 +482,16 @@ const App: FC = () => {
return (
<>
+ {curTheme.background && (
+
+ )}