diff --git a/docs/src/en/guide/in-depth/theme.md b/docs/src/en/guide/in-depth/theme.md index 6202a13a..95a9e478 100644 --- a/docs/src/en/guide/in-depth/theme.md +++ b/docs/src/en/guide/in-depth/theme.md @@ -36,7 +36,7 @@ You can check the list below to understand all the available variables. --background: 0 0% 100%; /* Main area background color */ - --background-deep: 210 11.11% 96.47%; + --background-deep: 216 20.11% 95.47%; --foreground: 210 6% 21%; /* Background color for */ @@ -111,7 +111,7 @@ You can check the list below to understand all the available variables. /* menu */ --sidebar: 0 0% 100%; - --sidebar-deep: 210 11.11% 96.47%; + --sidebar-deep: 216 20.11% 95.47%; --menu: var(--sidebar); /* header */ @@ -330,7 +330,7 @@ type BuiltinThemeType = --background: 0 0% 100%; /* Main area background color */ - --background-deep: 210 11.11% 96.47%; + --background-deep: 216 20.11% 95.47%; --foreground: 222 84% 5%; /* Background color for */ diff --git a/docs/src/guide/in-depth/theme.md b/docs/src/guide/in-depth/theme.md index 523b41f6..28364615 100644 --- a/docs/src/guide/in-depth/theme.md +++ b/docs/src/guide/in-depth/theme.md @@ -36,7 +36,7 @@ css 变量内的颜色,必须使用 `hsl` 格式,如 `0 0% 100%`,不需要 --background: 0 0% 100%; /* 主体区域背景色 */ - --background-deep: 210 11.11% 96.47%; + --background-deep: 216 20.11% 95.47%; --foreground: 210 6% 21%; /* Background color for */ @@ -111,7 +111,7 @@ css 变量内的颜色,必须使用 `hsl` 格式,如 `0 0% 100%`,不需要 /* menu */ --sidebar: 0 0% 100%; - --sidebar-deep: 210 11.11% 96.47%; + --sidebar-deep: 216 20.11% 95.47%; --menu: var(--sidebar); /* header */ @@ -330,7 +330,7 @@ type BuiltinThemeType = --background: 0 0% 100%; /* 主体区域背景色 */ - --background-deep: 210 11.11% 96.47%; + --background-deep: 216 20.11% 95.47%; --foreground: 222 84% 5%; /* Background color for */ diff --git a/packages/@core/base/design/src/css/global.css b/packages/@core/base/design/src/css/global.css index aaa52280..8c2baf11 100644 --- a/packages/@core/base/design/src/css/global.css +++ b/packages/@core/base/design/src/css/global.css @@ -136,7 +136,7 @@ } .card-box { - @apply bg-card text-card-foreground border-border rounded-xl border shadow; + @apply bg-card text-card-foreground border-border rounded-xl border; } } diff --git a/packages/@core/base/design/src/design-tokens/default/index.css b/packages/@core/base/design/src/design-tokens/default/index.css index 99411180..6d54bd63 100644 --- a/packages/@core/base/design/src/design-tokens/default/index.css +++ b/packages/@core/base/design/src/design-tokens/default/index.css @@ -7,7 +7,7 @@ --background: 0 0% 100%; /* 主体区域背景色 */ - --background-deep: 210 11.11% 96.47%; + --background-deep: 216 20.11% 95.47%; --foreground: 210 6% 21%; /* Background color for */ @@ -77,7 +77,7 @@ /* ============= custom ============= */ /* 遮罩颜色 */ - --overlay: 0 0% 0% / 30%; + --overlay: 0 0% 0% / 45%; /* 基本文字大小 */ --font-size-base: 16px; diff --git a/packages/@core/preferences/src/config.ts b/packages/@core/preferences/src/config.ts index e6fa3c17..60579b30 100644 --- a/packages/@core/preferences/src/config.ts +++ b/packages/@core/preferences/src/config.ts @@ -70,7 +70,7 @@ const defaultPreferences: Preferences = { expandOnHover: true, extraCollapse: true, hidden: false, - width: 230, + width: 224, }, tabbar: { dragable: true, diff --git a/packages/@core/ui-kit/popup-ui/src/modal/modal.vue b/packages/@core/ui-kit/popup-ui/src/modal/modal.vue index eb2e6bf2..7082882d 100644 --- a/packages/@core/ui-kit/popup-ui/src/modal/modal.vue +++ b/packages/@core/ui-kit/popup-ui/src/modal/modal.vue @@ -153,7 +153,7 @@ function pointerDownOutside(e: Event) { { 'left-0 top-0 size-full max-h-full !translate-x-0 !translate-y-0': shouldFullscreen, - 'top-1/2 -translate-y-1/2': centered && !shouldFullscreen, + 'top-1/2 !-translate-y-1/2': centered && !shouldFullscreen, 'duration-300': !dragging, }, ) diff --git a/packages/@core/ui-kit/shadcn-ui/src/components/avatar/avatar.vue b/packages/@core/ui-kit/shadcn-ui/src/components/avatar/avatar.vue index e42326db..1c310c44 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/components/avatar/avatar.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/components/avatar/avatar.vue @@ -28,12 +28,12 @@ const props = withDefaults(defineProps(), { }); const text = computed(() => { - return props.alt.slice(0, 2).toUpperCase(); + return props.alt.slice(-2).toUpperCase(); });