docs: annotate all shared frontend modules in Chinese
This commit is contained in:
1 parent
2be21c1c62
commit
408f8e5c98
55 files changed
+349
No files matched your search
@@ -1,8 +1,10 @@
|
||||
/** PrimeVue 客户端统一配置:中文交互文案、蓝色主色以及 .app-dark 暗色切换。 */
|
||||
import { definePreset } from "@primeuix/themes";
|
||||
import Aura from "@primeuix/themes/aura";
|
||||
import locale from "./locale.zh-CN.json";
|
||||
|
||||
// Use the MIT theme package, with the console's blue/slate/zinc palette.
|
||||
// 只覆盖 Aura 的语义色阶,保留组件自身设计令牌;浅色用 slate,深色用 zinc。
|
||||
const preset = definePreset(Aura, {
|
||||
semantic: {
|
||||
primary: Object.fromEntries(
|
||||
|
||||
Reference in new issue
Block a user