diff --git a/src/assets/icon/plugins-icons/button-blue-essence-click.png b/src/assets/icon/plugins-icons/button-blue-essence-click.png new file mode 100644 index 0000000..71dffd8 Binary files /dev/null and b/src/assets/icon/plugins-icons/button-blue-essence-click.png differ diff --git a/src/assets/icon/plugins-icons/button-blue-essence-hover.png b/src/assets/icon/plugins-icons/button-blue-essence-hover.png new file mode 100644 index 0000000..036173a Binary files /dev/null and b/src/assets/icon/plugins-icons/button-blue-essence-hover.png differ diff --git a/src/assets/icon/plugins-icons/button-blue-essence.png b/src/assets/icon/plugins-icons/button-blue-essence.png new file mode 100644 index 0000000..caea5f8 Binary files /dev/null and b/src/assets/icon/plugins-icons/button-blue-essence.png differ diff --git a/src/assets/icon/plugins-icons/button-open-chests-click.png b/src/assets/icon/plugins-icons/button-open-chests-click.png new file mode 100644 index 0000000..e85560d Binary files /dev/null and b/src/assets/icon/plugins-icons/button-open-chests-click.png differ diff --git a/src/assets/icon/plugins-icons/button-open-chests-hover.png b/src/assets/icon/plugins-icons/button-open-chests-hover.png new file mode 100644 index 0000000..4525033 Binary files /dev/null and b/src/assets/icon/plugins-icons/button-open-chests-hover.png differ diff --git a/src/assets/icon/plugins-icons/button-open-chests.png b/src/assets/icon/plugins-icons/button-open-chests.png new file mode 100644 index 0000000..4f6c2ee Binary files /dev/null and b/src/assets/icon/plugins-icons/button-open-chests.png differ diff --git a/src/assets/icon/plugins-icons/button-refresh-click.png b/src/assets/icon/plugins-icons/button-refresh-click.png new file mode 100644 index 0000000..c755005 Binary files /dev/null and b/src/assets/icon/plugins-icons/button-refresh-click.png differ diff --git a/src/assets/icon/plugins-icons/button-refresh-hover.png b/src/assets/icon/plugins-icons/button-refresh-hover.png new file mode 100644 index 0000000..3b42b34 Binary files /dev/null and b/src/assets/icon/plugins-icons/button-refresh-hover.png differ diff --git a/src/assets/icon/plugins-icons/button-refresh.png b/src/assets/icon/plugins-icons/button-refresh.png new file mode 100644 index 0000000..07c1570 Binary files /dev/null and b/src/assets/icon/plugins-icons/button-refresh.png differ diff --git a/src/theme/homepage.js b/src/theme/homepage.js index 8ec8d81..8751135 100644 --- a/src/theme/homepage.js +++ b/src/theme/homepage.js @@ -21,7 +21,7 @@ const error = (message, ...args) => console.error(CONSOLE_STYLE.prefix + '%c ' + let datapath = new URL("..", import.meta.url).href; const iconFolder = `${datapath}assets/icon/`; const bgFolder = `${datapath}assets/backgrounds/`; -let thisVersion, CdnKey; +let CdnKey; DataStore.set("Font-folder", `${datapath}assets/fonts/`); DataStore.set("Plugin-folder-name", getThemeName()); @@ -32,7 +32,7 @@ const defaultData = { "wallpaper-index": 0, "audio-index": 0, "wallpaper-volume": 0.0, - "audio-volume": 0.3, + "audio-volume": 0.15, 'mute-audio': false, "Playback-speed": 100, "Audio-currentTime": 0, @@ -106,8 +106,7 @@ else { } if (CdnKey == LocalKey) { - //thisVersion = (await import("https://unpkg.com/elaina-theme-data@latest/src/update/version.js")).default; - DataStore.set("Theme-version", thisVersion); + DataStore.set("Theme-version", (await import("https://unpkg.com/elaina-theme-data@latest/src/update/version.js")).default); if (!DataStore.get("Change-CDN-version")) { const cdnVersion = await (await fetch('https://unpkg.com/elaina-theme-data@latest/package.json')).json(); DataStore.set("Cdn-version", cdnVersion["version"]);