diff --git a/apps/web-antd/src/app.vue b/apps/web-antd/src/app.vue
index 7ffe37b4..39f319cb 100644
--- a/apps/web-antd/src/app.vue
+++ b/apps/web-antd/src/app.vue
@@ -2,6 +2,7 @@
import { computed } from 'vue';
import { GlobalProvider } from '@vben/common-ui';
+import { useDesignTokens } from '@vben/hooks';
import { preferences, usePreferences } from '@vben/preferences';
import { App, ConfigProvider, theme } from 'ant-design-vue';
@@ -11,6 +12,7 @@ import { antdLocale } from '#/locales';
defineOptions({ name: 'App' });
const { isDark } = usePreferences();
+const { antDesignTokens } = useDesignTokens();
const tokenTheme = computed(() => {
const algorithm = isDark.value
@@ -24,7 +26,7 @@ const tokenTheme = computed(() => {
return {
algorithm,
- token: { colorPrimary: preferences.theme.colorPrimary },
+ token: antDesignTokens.value,
};
});
diff --git a/apps/web-antd/src/views/demos/nested/menu-1.vue b/apps/web-antd/src/views/demos/nested/menu-1.vue
index d1b16748..f394930f 100644
--- a/apps/web-antd/src/views/demos/nested/menu-1.vue
+++ b/apps/web-antd/src/views/demos/nested/menu-1.vue
@@ -3,8 +3,5 @@ import { Fallback } from '@vben/common-ui';
-
-
-
-
+
diff --git a/apps/web-antd/src/views/demos/nested/menu-2-1.vue b/apps/web-antd/src/views/demos/nested/menu-2-1.vue
index d1b16748..f394930f 100644
--- a/apps/web-antd/src/views/demos/nested/menu-2-1.vue
+++ b/apps/web-antd/src/views/demos/nested/menu-2-1.vue
@@ -3,8 +3,5 @@ import { Fallback } from '@vben/common-ui';
-
-
-
-
+
diff --git a/apps/web-antd/src/views/demos/nested/menu-3-1.vue b/apps/web-antd/src/views/demos/nested/menu-3-1.vue
index d1b16748..f394930f 100644
--- a/apps/web-antd/src/views/demos/nested/menu-3-1.vue
+++ b/apps/web-antd/src/views/demos/nested/menu-3-1.vue
@@ -3,8 +3,5 @@ import { Fallback } from '@vben/common-ui';
-
-
-
-
+
diff --git a/apps/web-antd/src/views/demos/nested/menu-3-2-1.vue b/apps/web-antd/src/views/demos/nested/menu-3-2-1.vue
index d1b16748..f394930f 100644
--- a/apps/web-antd/src/views/demos/nested/menu-3-2-1.vue
+++ b/apps/web-antd/src/views/demos/nested/menu-3-2-1.vue
@@ -3,8 +3,5 @@ import { Fallback } from '@vben/common-ui';
-
-
-
-
+
diff --git a/internal/tailwind-config/src/index.ts b/internal/tailwind-config/src/index.ts
index f6b2bae1..7402e913 100644
--- a/internal/tailwind-config/src/index.ts
+++ b/internal/tailwind-config/src/index.ts
@@ -160,7 +160,7 @@ export default {
},
fontFamily: {
sans: [
- 'var(--font-geist-sans)',
+ 'var(--font-family)',
// ...defaultTheme.fontFamily.sans
],
},
diff --git a/packages/@core/shared/design/src/design-tokens/default/index.css b/packages/@core/shared/design/src/design-tokens/default/index.css
index 79e7e4aa..5b0c985d 100644
--- a/packages/@core/shared/design/src/design-tokens/default/index.css
+++ b/packages/@core/shared/design/src/design-tokens/default/index.css
@@ -1,8 +1,7 @@
:root {
- --font-geist-sans: 'pingfang sc', -apple-system, blinkmacsystemfont,
- 'segoe ui', helvetica, 'helvetica neue', 'microsoft yahei ui',
- 'microsoft yahei', arial, 'hiragino sans', 'apple color emoji',
- 'segoe ui emoji', 'segoe ui symbol', simsun, sans-serif;
+ --font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
+ 'Helvetica Neue', arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
+ 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
/* Default background color of