主题色修改

This commit is contained in:
fengxiangdebaozi committed 2026-06-12 21:38:38 +08:00
1 parent 1214ea0d91
commit 00d6bd8595
4 files changed
+157 -61

No files matched your search

@@ -20,7 +20,7 @@ import { getBackendBaseURL } from "@/core/config";
export type LightAppType = "window_open" | "iframe";
export type RouteParamType = "login" | "theme";
/** 路由参数项。登录参数运行时从 localStorage.userInfo 解析;主题参数用 themeValue。 */
/** 路由参数项。登录参数运行时从 localStorage.userInfo 解析;主题参数随当前系统主题自动注入。 */
export interface LightAppRouteParam {
key: string;
paramType: RouteParamType;
@@ -28,7 +28,7 @@ export interface LightAppRouteParam {
source?: string | null;
/** 登录参数且 source==="other" 时的字面值。 */
customValue?: string | null;
/** 主题参数的值(dark-blue / red / blue,可改)。 */
/** 主题参数配置:映射串 `light=red;dark=darkBlue`(或纯值);运行时按当前系统主题取对应值(见 resolveThemeParamValue)。 */
themeValue?: string | null;
}