diff --git a/packages/business/universal-ui/package.json b/packages/business/universal-ui/package.json
index 8532f678..9d1e33cf 100644
--- a/packages/business/universal-ui/package.json
+++ b/packages/business/universal-ui/package.json
@@ -40,6 +40,7 @@
"@vben-core/design": "workspace:*"
},
"dependencies": {
+ "@vben-core/colorful": "workspace:*",
"@vben-core/design": "workspace:*",
"@vben-core/iconify": "workspace:*",
"@vben-core/preferences": "workspace:*",
@@ -49,7 +50,6 @@
"@vben/locales": "workspace:*",
"@vueuse/core": "^10.11.0",
"@vueuse/integrations": "^10.11.0",
- "@vben/chart-ui": "workspace:*",
"qrcode": "^1.5.3",
"vue": "^3.4.30",
"vue-router": "^4.4.0"
diff --git a/packages/business/universal-ui/src/authentication/login.vue b/packages/business/universal-ui/src/authentication/login.vue
index 11327ec5..c7426b0f 100644
--- a/packages/business/universal-ui/src/authentication/login.vue
+++ b/packages/business/universal-ui/src/authentication/login.vue
@@ -189,11 +189,12 @@ function handleGo(path: string) {
{{ $t('authentication.forget-password') }}
+
@@ -235,7 +236,7 @@ function handleGo(path: string) {
{{ $t('authentication.account-tip') }}
{{ $t('authentication.create-account') }}
diff --git a/packages/business/universal-ui/src/authentication/register.vue b/packages/business/universal-ui/src/authentication/register.vue
index 6c69eb7f..1c6ea143 100644
--- a/packages/business/universal-ui/src/authentication/register.vue
+++ b/packages/business/universal-ui/src/authentication/register.vue
@@ -132,11 +132,11 @@ function goLogin() {
name="agreePolicy"
>
{{ $t('authentication.sign-up-agree') }}
- {{
+ {{
$t('authentication.sign-up-privacy-policy')
}}
&
-
+
{{ $t('authentication.sign-up-terms') }}
@@ -158,7 +158,7 @@ function goLogin() {
{{ $t('authentication.already-account') }}
{{ $t('authentication.go-login') }}
diff --git a/packages/business/universal-ui/src/authentication/widgets/color-toggle.vue b/packages/business/universal-ui/src/authentication/widgets/color-toggle.vue
index d0281fb4..b147cca0 100644
--- a/packages/business/universal-ui/src/authentication/widgets/color-toggle.vue
+++ b/packages/business/universal-ui/src/authentication/widgets/color-toggle.vue
@@ -1,7 +1,9 @@
+
+
+
+
+
+
+
+ {{ typeView(theme.type) }}
+
+
+
+
+
diff --git a/packages/business/universal-ui/src/preferences/blocks/theme/color.vue b/packages/business/universal-ui/src/preferences/blocks/theme/color.vue
deleted file mode 100644
index 9869e325..00000000
--- a/packages/business/universal-ui/src/preferences/blocks/theme/color.vue
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
diff --git a/packages/business/universal-ui/src/preferences/blocks/theme/radius.vue b/packages/business/universal-ui/src/preferences/blocks/theme/radius.vue
new file mode 100644
index 00000000..4201ed60
--- /dev/null
+++ b/packages/business/universal-ui/src/preferences/blocks/theme/radius.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
diff --git a/packages/business/universal-ui/src/preferences/blocks/theme/theme.vue b/packages/business/universal-ui/src/preferences/blocks/theme/theme.vue
index 50b04fc1..bbbe474f 100644
--- a/packages/business/universal-ui/src/preferences/blocks/theme/theme.vue
+++ b/packages/business/universal-ui/src/preferences/blocks/theme/theme.vue
@@ -1,4 +1,8 @@
@@ -18,13 +14,11 @@ import Preferences from './preferences.vue';
:app-layout="preferences.app.layout"
:app-locale="preferences.app.locale"
:app-semi-dark-menu="preferences.app.semiDarkMenu"
- :app-theme-mode="preferences.app.themeMode"
:breadcrumb-enable="preferences.breadcrumb.enable"
:breadcrumb-hide-only-one="preferences.breadcrumb.hideOnlyOne"
:breadcrumb-home="preferences.breadcrumb.showHome"
:breadcrumb-icon="preferences.breadcrumb.showIcon"
:breadcrumb-style-type="preferences.breadcrumb.styleType"
- :color-primary-presets="COLOR_PRIMARY_RESETS"
:footer-enable="preferences.footer.enable"
:footer-fixed="preferences.footer.fixed"
:header-enable="preferences.header.enable"
@@ -43,7 +37,10 @@ import Preferences from './preferences.vue';
:sidebar-enable="preferences.sidebar.enable"
:tabbar-enable="preferences.tabbar.enable"
:tabbar-show-icon="preferences.tabbar.showIcon"
+ :theme-builtin-type="preferences.theme.builtinType"
:theme-color-primary="preferences.theme.colorPrimary"
+ :theme-mode="preferences.theme.mode"
+ :theme-radius="preferences.theme.radius"
:transition-enable="preferences.transition.enable"
:transition-name="preferences.transition.name"
:transition-progress="preferences.transition.progress"
@@ -72,9 +69,6 @@ import Preferences from './preferences.vue';
@update:app-semi-dark-menu="
(val) => updatePreferences({ app: { semiDarkMenu: val } })
"
- @update:app-theme-mode="
- (val) => updatePreferences({ app: { themeMode: val } })
- "
@update:breadcrumb-enable="
(val) => updatePreferences({ breadcrumb: { enable: val } })
"
@@ -136,9 +130,16 @@ import Preferences from './preferences.vue';
@update:tabbar-show-icon="
(val) => updatePreferences({ tabbar: { showIcon: val } })
"
+ @update:theme-builtin-type="
+ (val) => updatePreferences({ theme: { builtinType: val } })
+ "
@update:theme-color-primary="
(val) => updatePreferences({ theme: { colorPrimary: val } })
"
+ @update:theme-mode="(val) => updatePreferences({ theme: { mode: val } })"
+ @update:theme-radius="
+ (val) => updatePreferences({ theme: { radius: val } })
+ "
@update:transition-enable="
(val) => updatePreferences({ transition: { enable: val } })
"
diff --git a/packages/business/universal-ui/src/preferences/preferences.vue b/packages/business/universal-ui/src/preferences/preferences.vue
index d4874e3f..66d57518 100644
--- a/packages/business/universal-ui/src/preferences/preferences.vue
+++ b/packages/business/universal-ui/src/preferences/preferences.vue
@@ -1,5 +1,6 @@