From 87a66a4236a187a4ad2c90430496569d2522fdc5 Mon Sep 17 00:00:00 2001 From: Soybean Date: Sat, 25 Oct 2025 14:52:10 +0800 Subject: [PATCH] optimize(projects): optimize radius settings --- src/theme/preset/azir.json | 2 +- src/theme/preset/compact.json | 2 +- src/theme/preset/dark.json | 2 +- src/theme/preset/default.json | 2 +- src/theme/settings.ts | 2 +- uno.config.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/theme/preset/azir.json b/src/theme/preset/azir.json index 3b3d34b5..837b9b44 100644 --- a/src/theme/preset/azir.json +++ b/src/theme/preset/azir.json @@ -14,7 +14,7 @@ "warning": "#d4bb9d", "error": "#c49a9a" }, - "themeRadius": 8, + "themeRadius": 6, "isInfoFollowPrimary": true, "layout": { "mode": "vertical-mix", diff --git a/src/theme/preset/compact.json b/src/theme/preset/compact.json index 99dd4751..8944dd0f 100644 --- a/src/theme/preset/compact.json +++ b/src/theme/preset/compact.json @@ -14,7 +14,7 @@ "warning": "#faad14", "error": "#f5222d" }, - "themeRadius": 8, + "themeRadius": 6, "isInfoFollowPrimary": true, "layout": { "mode": "vertical", diff --git a/src/theme/preset/dark.json b/src/theme/preset/dark.json index 832f5902..237b7c45 100644 --- a/src/theme/preset/dark.json +++ b/src/theme/preset/dark.json @@ -14,7 +14,7 @@ "warning": "#faad14", "error": "#f5222d" }, - "themeRadius": 8, + "themeRadius": 6, "isInfoFollowPrimary": true, "layout": { "mode": "vertical", diff --git a/src/theme/preset/default.json b/src/theme/preset/default.json index 69181e23..0d4488ff 100644 --- a/src/theme/preset/default.json +++ b/src/theme/preset/default.json @@ -14,7 +14,7 @@ "warning": "#faad14", "error": "#f5222d" }, - "themeRadius": 8, + "themeRadius": 6, "isInfoFollowPrimary": true, "layout": { "mode": "vertical", diff --git a/src/theme/settings.ts b/src/theme/settings.ts index 2974e1f1..1ff8cbb6 100644 --- a/src/theme/settings.ts +++ b/src/theme/settings.ts @@ -5,7 +5,7 @@ export const themeSettings: App.Theme.ThemeSetting = { colourWeakness: false, recommendColor: false, themeColor: '#646cff', - themeRadius: 8, + themeRadius: 6, otherColor: { info: '#2080f0', success: '#52c41a', diff --git a/uno.config.ts b/uno.config.ts index 8f7b82a9..0259efda 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -23,7 +23,7 @@ export default defineConfig({ } }, shortcuts: { - 'card-wrapper': 'shadow-sm' + 'card-wrapper': 'rd-8px shadow-sm' }, transformers: [transformerDirectives(), transformerVariantGroup()], presets: [presetWind3({ dark: 'class' }), presetSoybeanAdmin()]