feat: enhance theme customization and UI components

- Implemented a new color generation module to create CSS variables based on a single hue value, supporting both light and dark modes.
- Added unit tests for the color generation logic to ensure accuracy and robustness.
- Replaced dropdown location filter with tab navigation in RulesManagerPage and SkillsManagerPage for improved UX.
- Updated app store to manage custom theme hues and states, allowing for dynamic theme adjustments.
- Sanitized notification content before persisting to localStorage to prevent sensitive data exposure.
- Refactored memory retrieval logic to handle archived status more flexibly.
- Improved Tailwind CSS configuration with new gradient utilities and animations.
- Minor adjustments to SettingsPage layout for better visual consistency.
This commit is contained in:
catlog22
2026-02-04 17:20:40 +08:00
parent 88616224e0
commit e260a3f77b
30 changed files with 1377 additions and 388 deletions

View File

@@ -1,13 +1,15 @@
{
"title": {
"colorScheme": "颜色主题",
"themeMode": "明暗模式"
"themeMode": "明暗模式",
"customHue": "自定义色调"
},
"colorScheme": {
"blue": "经典蓝",
"green": "深邃绿",
"orange": "活力橙",
"purple": "优雅紫"
"purple": "优雅紫",
"custom": "自定义"
},
"themeMode": {
"light": "浅色",
@@ -17,5 +19,9 @@
"colorScheme": "选择{name}主题",
"themeMode": "选择{name}模式"
},
"current": "当前主题: {name}"
"current": "当前主题: {name}",
"hueValue": "色调: {value}°",
"preview": "预览",
"save": "保存自定义主题",
"reset": "重置为预设"
}