feat(主题): 添加自定义主题和Mica效果支持

实现自定义主题配置功能,支持设置Mica、Acrylic等窗口效果
添加多个预设主题配置文件
修改侧边栏样式以适配透明效果
扩展主题服务以处理自定义主题配置
This commit is contained in:
Linkon
2026-01-20 02:25:45 +08:00
parent 95ee5705f6
commit 32ddc4be46
12 changed files with 297 additions and 12 deletions
+31
View File
@@ -0,0 +1,31 @@
{
"name": "Mica-浅色",
"id": "mica-light",
"mode": "light",
"mica": {
"effect": "mica",
"theme": "light",
"radius": "medium"
},
"config": {
"tdesign": {
"brandColor": "#0052D9",
"warningColor": "#E37318",
"errorColor": "#D32029",
"successColor": "#248232"
},
"custom": {
"--ss-bg-color": "transparent",
"--ss-card-bg": "rgba(255, 255, 255, 0.7)",
"--ss-text-main": "#1a1a1a",
"--ss-text-secondary": "#5e5e5e",
"--ss-border-color": "rgba(0, 0, 0, 0.1)",
"--ss-header-bg": "transparent",
"--ss-sidebar-bg": "rgba(255, 255, 255, 0.85)",
"--ss-item-hover": "rgba(0, 0, 0, 0.05)",
"--ss-sidebar-text": "#1a1a1a",
"--ss-sidebar-active-bg": "rgba(0, 0, 0, 0.08)",
"--ss-sidebar-active-text": "#1a1a1a"
}
}
}