feat: theme setting

This commit is contained in:
Zack Spear
2023-06-06 19:59:32 -07:00
committed by Zack Spear
parent ca8c98f7e2
commit d718d2684d
9 changed files with 106 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
import { KeyIcon } from '@heroicons/vue/24/solid';
import { Theme } from '~/types/theme';
import { UserProfileLink } from '~/types/userProfile';
export enum ServerState {
@@ -40,6 +41,7 @@ export interface Server {
site?: string;
// state?: ServerState;
state: string;
theme: Theme;
uptime?: number;
username?: string;
wanFQDN?: string;

9
types/theme.ts Normal file
View File

@@ -0,0 +1,9 @@
export interface Theme {
banner: string;
bannerGradient: string;
bgColor: string;
descriptionShow: boolean;
metaColor: string;
name: string;
textColor: string;
}