feat: 增加小七端配置

This commit is contained in:
2026-05-26 10:41:44 +08:00
parent 7f30ad8b1b
commit a479aa7d0d
5 changed files with 35 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ import rawConfigs from "../../client-configs.json" with { type: "json" };
export const CLIENT_CONFIGS = rawConfigs;
// 获取当前用户端配置
export const getCurrentConfig = () => CLIENT_CONFIGS.zhinian;
export const getCurrentConfig = () => CLIENT_CONFIGS.xiaoqi;
export const clientId = getCurrentConfig().clientId;
export const appId = getCurrentConfig().appId;
@@ -20,6 +20,8 @@ export const appId = getCurrentConfig().appId;
export const ClientType = {
// 智念
ZHINIAN: "ZHINIAN",
// 小七
XIAOQI: "XIAOQI",
// 朵花
DUOHUA: "DUOHUA",
// 天沐
@@ -33,6 +35,8 @@ export const currentClientType = () => {
switch (getCurrentConfig().name) {
case "念念":
return ClientType.ZHINIAN;
case "小七":
return ClientType.XIAOQI;
case "朵朵":
return ClientType.DUOHUA;
case "沐沐":

View File

@@ -13,11 +13,11 @@
*/
/* 主题颜色(由 switch-client 命令自动更新) */
$theme-color-800: #174BB6;
$theme-color-700: #145EE1;
$theme-color-500: #2D91FF;
$theme-color-100: #D9EEFF;
$theme-color-50: #EEF8FF;
$theme-color-800: #0B7034;
$theme-color-700: #0B5C2D;
$theme-color-500: #0CCD58;
$theme-color-100: #E8FFF1;
$theme-color-50: #F0F8F3;
// text 颜色
$text-color-900: #181B25;