enhance(client): add html color-schema support
This commit is contained in:
parent
dddc076d01
commit
773139b737
2 changed files with 9 additions and 0 deletions
|
@ -92,6 +92,10 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
const colorSchema = localStorage.getItem('colorSchema');
|
||||
if (colorSchema) {
|
||||
document.documentElement.style.setProperty('color-schema', colorSchema);
|
||||
}
|
||||
//#endregion
|
||||
|
||||
const fontSize = localStorage.getItem('fontSize');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue