first commit
This commit is contained in:
commit
db5762abd4
687 files changed
+171307
No files matched your search
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"fileSizeTypes": ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"],
|
||||
"dayNames": [
|
||||
"星期日",
|
||||
"星期一",
|
||||
"星期二",
|
||||
"星期三",
|
||||
"星期四",
|
||||
"星期五",
|
||||
"星期六"
|
||||
],
|
||||
"dayNamesShort": ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
|
||||
"dayNamesMin": ["日", "一", "二", "三", "四", "五", "六"],
|
||||
"monthNames": [
|
||||
"一月",
|
||||
"二月",
|
||||
"三月",
|
||||
"四月",
|
||||
"五月",
|
||||
"六月",
|
||||
"七月",
|
||||
"八月",
|
||||
"九月",
|
||||
"十月",
|
||||
"十一月",
|
||||
"十二月"
|
||||
],
|
||||
"monthNamesShort": [
|
||||
"1月",
|
||||
"2月",
|
||||
"3月",
|
||||
"4月",
|
||||
"5月",
|
||||
"6月",
|
||||
"7月",
|
||||
"8月",
|
||||
"9月",
|
||||
"10月",
|
||||
"11月",
|
||||
"12月"
|
||||
],
|
||||
"firstDayOfWeek": 1,
|
||||
"dateFormat": "yy-mm-dd",
|
||||
"today": "今天",
|
||||
"clear": "清除",
|
||||
"chooseDate": "选择日期",
|
||||
"chooseMonth": "选择月份",
|
||||
"chooseYear": "选择年份",
|
||||
"prevMonth": "上个月",
|
||||
"nextMonth": "下个月",
|
||||
"prevYear": "上一年",
|
||||
"nextYear": "下一年",
|
||||
"accept": "确认",
|
||||
"reject": "取消",
|
||||
"choose": "选择",
|
||||
"upload": "上传",
|
||||
"cancel": "取消",
|
||||
"emptyMessage": "暂无数据",
|
||||
"emptyFilterMessage": "没有匹配的结果",
|
||||
"searchMessage": "{0} 个结果可用",
|
||||
"selectionMessage": "已选择 {0} 项",
|
||||
"emptySelectionMessage": "未选择任何项目",
|
||||
"weak": "弱",
|
||||
"medium": "中",
|
||||
"strong": "强",
|
||||
"passwordPrompt": "请输入密码",
|
||||
"aria": {
|
||||
"close": "关闭",
|
||||
"firstPageLabel": "第一页",
|
||||
"lastPageLabel": "最后一页",
|
||||
"nextPageLabel": "下一页",
|
||||
"prevPageLabel": "上一页",
|
||||
"pageLabel": "第 {page} 页",
|
||||
"rowsPerPageLabel": "每页条数",
|
||||
"selectAll": "选择全部",
|
||||
"unselectAll": "取消全选",
|
||||
"selectRow": "选择此行",
|
||||
"unselectRow": "取消选择此行"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
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.
|
||||
const preset = definePreset(Aura, {
|
||||
semantic: {
|
||||
primary: Object.fromEntries(
|
||||
[50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map((shade) => [
|
||||
shade,
|
||||
`{blue.${shade}}`,
|
||||
]),
|
||||
),
|
||||
colorScheme: {
|
||||
light: {
|
||||
surface: Object.fromEntries(
|
||||
[0, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map(
|
||||
(shade) => [shade, shade === 0 ? "#ffffff" : `{slate.${shade}}`],
|
||||
),
|
||||
),
|
||||
},
|
||||
dark: {
|
||||
surface: Object.fromEntries(
|
||||
[0, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map(
|
||||
(shade) => [shade, shade === 0 ? "#ffffff" : `{zinc.${shade}}`],
|
||||
),
|
||||
),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default {
|
||||
ripple: true,
|
||||
locale,
|
||||
theme: { preset, options: { darkModeSelector: ".app-dark" } },
|
||||
};
|
||||
Reference in new issue
Block a user