@@ -11,9 +11,12 @@ import { copyToClipboard } from '@/@core/utils/navigator'
1111import ProgressDialog from ' @/components/dialog/ProgressDialog.vue'
1212import { useI18n } from ' vue-i18n'
1313import { downloaderOptions , mediaServerOptions } from ' @/api/constants'
14- import { useDisplay } from ' vuetify'
14+ import { useDisplay , useTheme } from ' vuetify'
1515
1616const display = useDisplay ()
17+ const theme = useTheme ()
18+
19+ const isTransparentTheme = computed (() => theme .name .value === ' transparent' )
1720
1821// 国际化
1922const { t } = useI18n ()
@@ -856,7 +859,10 @@ watch(currentLlmSnapshotKey, (snapshotKey, previousSnapshotKey) => {
856859 />
857860 </VCol >
858861 </VRow >
859- <VCard variant =" outlined" class =" ai-agent-settings-card mt-6" >
862+ <VCard
863+ variant =" outlined"
864+ :class =" ['mt-6', isTransparentTheme ? 'ai-agent-settings-card-transparent' : 'ai-agent-settings-card']"
865+ >
860866 <VCardItem class =" pb-2" >
861867 <template #prepend >
862868 <VAvatar color =" primary" variant =" tonal" size =" 40" >
@@ -1731,10 +1737,15 @@ watch(currentLlmSnapshotKey, (snapshotKey, previousSnapshotKey) => {
17311737
17321738<style scoped>
17331739.ai-agent-settings-card {
1734- border-color : rgba (var (--v-theme-primary ), 0.01 );
1740+ border-color : rgba (var (--v-theme-primary ), 0.15 );
17351741 background : linear-gradient (180deg , rgba (var (--v-theme-primary ), 0.04 ) 0% , rgba (var (--v-theme-surface ), 0.92 ) 100% );
17361742}
17371743
1744+ .ai-agent-settings-card-transparent {
1745+ border-color : rgba (var (--v-theme-primary ), 0 );
1746+ background-color : rgba (var (--v-theme-surface ), 0 ) !important ;
1747+ }
1748+
17381749.setting-actions {
17391750 display : flex ;
17401751 align-items : center ;
0 commit comments