accent color support
This commit is contained in:
parent
3c5cb3df6c
commit
c27a9af9bd
8 changed files with 134 additions and 21 deletions
|
@ -36,6 +36,10 @@ function setDefaults() {
|
|||
if (userinfos.users === undefined) {
|
||||
userinfos.users = {};
|
||||
}
|
||||
if (userinfos.accent_color === undefined) {
|
||||
userinfos.accent_color = "#242443";
|
||||
}
|
||||
document.documentElement.style.setProperty('--accent-color', userinfos.accent_color);
|
||||
if (userinfos.preferences === undefined) {
|
||||
userinfos.preferences = {
|
||||
theme: "Dark",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue