テーマに関して強化
This commit is contained in:
parent
f2b9863eea
commit
6b96bd0185
15 changed files with 569 additions and 513 deletions
|
|
@ -24,7 +24,6 @@
|
|||
const theme = localStorage.getItem('theme');
|
||||
if (theme) {
|
||||
Object.entries(JSON.parse(theme)).forEach(([k, v]) => {
|
||||
if (k == 'meta') return;
|
||||
document.documentElement.style.setProperty(`--${k}`, v.toString());
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue