feat: 添加标签透明背景选项,优化标签显示效果

This commit is contained in:
Montia37
2025-09-08 20:53:52 +08:00
parent dc939228b2
commit 32d0e396ef
5 changed files with 45 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ export interface ConfigOptions {
videoBackgroundUrl?: string; // 视频背景URL
blurValue?: number; // 磨砂玻璃模糊值
blurBackgroundColor?: string; // 磨砂玻璃背景颜色
enableTransparentTags?: boolean; // 是否启用标签透明背景
tagDefaultColorList?: string; // 标签默认颜色列表
enableLocalStorage?: boolean; // 是否启用本地存储
selectedDefaultView?: "grid" | "table"; // 默认视图模式
@@ -33,6 +34,7 @@ export const DEFAULT_CONFIG: ConfigOptions = {
videoBackgroundUrl: "/assets/LanternRivers_1080p15fps2Mbps3s.mp4",
blurValue: 10,
blurBackgroundColor: "rgba(255, 255, 255, 0.5)|rgba(0, 0, 0, 0.5)",
enableTransparentTags: true,
tagDefaultColorList:
"ruby,gray,gold,bronze,brown,yellow,amber,orange,tomato,red",
enableLocalStorage: true,