feat(appearance): add composable theme package

This commit is contained in:
Maofeng
2026-09-21 16:05:05 +08:00
parent 71c416caab
commit e2dbbcb884
29 changed files with 2877 additions and 0 deletions
@@ -0,0 +1,54 @@
import type { AppearanceMessageCatalog } from "./catalogs"
export const locale = "zh-Hans"
export const languageTag = "zh-CN"
export const messages = {
"appearance.active": "使用中",
"appearance.baseColor": "基础颜色",
"appearance.color.amber": "琥珀色",
"appearance.color.blue": "蓝色",
"appearance.color.cyan": "青色",
"appearance.color.emerald": "翠绿色",
"appearance.color.fuchsia": "紫红色",
"appearance.color.green": "绿色",
"appearance.color.indigo": "靛蓝色",
"appearance.color.lime": "青柠色",
"appearance.color.mauve": "紫灰",
"appearance.color.mist": "雾灰",
"appearance.color.neutral": "中性灰",
"appearance.color.olive": "橄榄灰",
"appearance.color.orange": "橙色",
"appearance.color.pink": "粉色",
"appearance.color.purple": "紫色",
"appearance.color.red": "红色",
"appearance.color.rose": "玫红色",
"appearance.color.sky": "天蓝色",
"appearance.color.stone": "石灰",
"appearance.color.taupe": "灰褐",
"appearance.color.teal": "蓝绿色",
"appearance.color.violet": "紫罗兰色",
"appearance.color.yellow": "黄色",
"appearance.color.zinc": "锌灰",
"appearance.command.description": "打开主题与布局偏好",
"appearance.compact.description": "启用后,页面主内容将使用紧凑宽度",
"appearance.compact.title": "紧凑布局",
"appearance.description": "主题与布局偏好",
"appearance.mode.dark": "深色",
"appearance.mode.dark.description": "界面将始终使用深色主题",
"appearance.mode.light": "浅色",
"appearance.mode.light.description": "界面将始终使用浅色主题",
"appearance.mode.system": "系统",
"appearance.mode.system.description": "界面主题将跟随系统外观设置",
"appearance.mode.title": "主题模式",
"appearance.primaryColor": "主要颜色",
"appearance.theme.dark": "深色主题",
"appearance.theme.dark.description": "当系统设置为深色模式时,将使用此主题",
"appearance.theme.light": "浅色主题",
"appearance.theme.light.description": "当系统设置为浅色模式时,将使用此主题",
"appearance.title": "界面外观",
"appearance.toggleTheme": "切换主题",
"appearance.toggleTheme.dark": "切换为深色模式",
"appearance.toggleTheme.description": "在浅色与深色主题之间切换",
"appearance.toggleTheme.light": "切换为浅色模式",
} as const satisfies AppearanceMessageCatalog