enhance(frontend): 壁紙をデッキ設定の一部に
This commit is contained in:
parent
5aca91251a
commit
500a5615f0
14 changed files with 50 additions and 57 deletions
|
|
@ -127,11 +127,6 @@
|
|||
document.documentElement.classList.add('useSystemFont');
|
||||
}
|
||||
|
||||
const wallpaper = localStorage.getItem('wallpaper');
|
||||
if (wallpaper) {
|
||||
document.documentElement.style.backgroundImage = `url(${wallpaper})`;
|
||||
}
|
||||
|
||||
const customCss = localStorage.getItem('customCss');
|
||||
if (customCss && customCss.length > 0) {
|
||||
const style = document.createElement('style');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue