web/user: make more themable

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-04-05 23:47:15 +02:00
parent f2b540ed8a
commit e38d03b304
3 changed files with 19 additions and 12 deletions

View File

@ -30,7 +30,7 @@ export interface UIConfig {
navbar: {
userDisplay: UserDisplay;
};
color: {
theme: {
background: string;
cardBackground: string;
};
@ -57,7 +57,7 @@ export class DefaultUIConfig implements UIConfig {
navbar = {
userDisplay: UserDisplay.username,
};
color = {
theme = {
background: "",
cardBackground: "",
};