feat: support theme setting

This commit is contained in:
GyDi
2022-03-31 23:38:00 +08:00
parent 3ec2b46d28
commit f9a96ff914
5 changed files with 317 additions and 49 deletions

View File

@@ -130,6 +130,18 @@ export namespace CmdType {
enable_system_proxy?: boolean;
enable_proxy_guard?: boolean;
system_proxy_bypass?: string;
theme_setting?: {
primary_color?: string;
secondary_color?: string;
primary_text?: string;
secondary_text?: string;
info_color?: string;
error_color?: string;
warning_color?: string;
success_color?: string;
font_face?: string;
font_family?: string;
};
}
type ClashConfigValue = any;