mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-19 20:09:24 +08:00
feat: 添加状态卡片显示控制功能
This commit is contained in:
@@ -7,10 +7,11 @@ export interface ConfigOptions {
|
||||
blurBackgroundColor?: string; // 磨砂玻璃背景颜色
|
||||
enableTransparentTags?: boolean; // 是否启用标签透明背景
|
||||
tagDefaultColorList?: string; // 标签默认颜色列表
|
||||
selectThemeColor?: string; // 默认主题颜色
|
||||
enableLocalStorage?: boolean; // 是否启用本地存储
|
||||
selectedDefaultView?: "grid" | "table"; // 默认视图模式
|
||||
selectedDefaultAppearance?: "light" | "dark" | "system"; // 默认外观模式
|
||||
selectThemeColor?: string; // 默认主题颜色
|
||||
statusCardsVisibility?: string; // 状态卡片显示控制
|
||||
enableLogo?: boolean; // 是否启用Logo
|
||||
logoUrl?: string; // Logo图片URL
|
||||
enableTitle?: boolean; // 是否启用标题
|
||||
@@ -38,10 +39,12 @@ export const DEFAULT_CONFIG: ConfigOptions = {
|
||||
enableTransparentTags: true,
|
||||
tagDefaultColorList:
|
||||
"ruby,gray,gold,bronze,brown,yellow,amber,orange,tomato,red",
|
||||
selectThemeColor: "gray",
|
||||
enableLocalStorage: true,
|
||||
selectedDefaultView: "grid",
|
||||
selectedDefaultAppearance: "system",
|
||||
selectThemeColor: "gray",
|
||||
statusCardsVisibility:
|
||||
"currentTime:true,currentOnline:true,regionOverview:true,trafficOverview:true,networkSpeed:true",
|
||||
enableLogo: false,
|
||||
logoUrl: "/assets/logo.png",
|
||||
enableTitle: true,
|
||||
|
Reference in New Issue
Block a user