20260806173205

This commit is contained in:
oneao committed 2026-08-06 17:32:07 +08:00
1 parent 74cdb7f306
commit 6baa339efa
14 files changed
+804 -324

No files matched your search

+27 -23
View File
@@ -2,34 +2,38 @@
import zhCN from "antdv-next/locale/zh_CN";
const themeConfig = {
// token: {
// controlHeight: 26,
// },
// components: {
// Splitter: {
// splitBarSize: 1,
// },
// Button: {
// contentFontSize: 12,
// paddingInline: 10,
// },
// Form: {
// labelFontSize: 12,
// verticalLabelMargin: "0 0 2px",
// itemMarginBottom: 8,
// },
// Collapse: {
// headerBg: "#ffffff",
// contentBg: "#ffffff",
// borderlessContentBg: "#ffffff",
// },
// },
token: {
controlHeight: 32,
borderRadius: 6,
colorPrimary: '#0a0a0a',
colorBgContainer: '#ffffff',
colorBgLayout: '#fafafa',
colorBorder: '#e4e4e7',
colorText: '#0a0a0a',
colorTextSecondary: '#71717a',
fontSize: 14,
},
components: {
Splitter: {
splitBarSize: 1,
},
Button: {
contentFontSize: 14,
},
Tree: {
nodeSelectedBg: '#0a0a0a',
nodeSelectedColor: '#fafafa',
},
},
};
const timePickerLocale = {
...zhCN.TimePicker,
placeholder: "",
rangePlaceholder: ["", ""],
};
const datePickerLocale = {
...zhCN.DatePicker,
lang: {
@@ -70,7 +74,7 @@ const locale = {
</template>
<style>
/* 全局:按钮内图标跟随 contentFontSize(13px),覆盖 Lucide 的固定 size */
/* 全局:按钮内图标跟随 contentFontSize,覆盖 Lucide 的固定 size */
.ant-btn svg {
width: 1em !important;
height: 1em !important;