fix: theme

This commit is contained in:
wangdan-fit2cloud 2025-07-11 15:19:34 +08:00
parent 2783d7dcde
commit a178986d9b
4 changed files with 18 additions and 7 deletions

View File

@ -213,9 +213,7 @@ function refreshFieldTitle(chatId: string, abstract: string) {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-right: 1px solid var(--el-menu-border-color); border-right: 1px solid var(--el-menu-border-color);
background: background: var(--el-color-primary-light-06) !important;
linear-gradient(187.61deg, rgba(235, 241, 255, 0.5) 39.6%, rgba(231, 249, 255, 0.5) 94.3%),
#eef1f4;
:deep(.el-menu) { :deep(.el-menu) {
background: none; background: none;
border: none; border: none;
@ -227,6 +225,9 @@ function refreshFieldTitle(chatId: string, abstract: string) {
color: var(--el-text-color-primary) !important; color: var(--el-text-color-primary) !important;
} }
} }
.el-sub-menu__title:hover {
background-color: var(--el-color-primary-light-9) !important;
}
} }
.left-height { .left-height {
@ -251,11 +252,9 @@ function refreshFieldTitle(chatId: string, abstract: string) {
</style> </style>
<style lang="scss"> <style lang="scss">
.chat-pc-popper { .chat-pc-popper {
background: background: #ffffff!important;
linear-gradient(187.61deg, rgba(235, 241, 255, 0.5) 39.6%, rgba(231, 249, 255, 0.5) 94.3%),
#eef1f4 !important;
.el-menu { .el-menu {
background: transparent; background: var(--el-color-primary-light-06) !important;
} }
.el-menu-item-group__title { .el-menu-item-group__title {
padding: 8px 8px 8px 16px; padding: 8px 8px 8px 16px;

View File

@ -12,6 +12,10 @@
applicationDetail?.custom_theme?.theme_color || '#3370FF', applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.4, 0.4,
), ),
'--el-color-primary-light-06': hexToRgba(
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.04,
),
backgroundImage: `url(${applicationDetail?.chat_background})`, backgroundImage: `url(${applicationDetail?.chat_background})`,
}" }"
> >

View File

@ -13,6 +13,10 @@
applicationDetail?.custom_theme?.theme_color || '#3370FF', applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.4, 0.4,
), ),
'--el-color-primary-light-06': hexToRgba(
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.04,
),
backgroundImage: `url(${applicationDetail?.chat_background})`, backgroundImage: `url(${applicationDetail?.chat_background})`,
}" }"
> >

View File

@ -13,6 +13,10 @@
applicationDetail?.custom_theme?.theme_color || '#3370FF', applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.4, 0.4,
), ),
'--el-color-primary-light-06': hexToRgba(
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.04,
),
}" }"
> >
<div class="flex h-full w-full"> <div class="flex h-full w-full">