Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

refactor: use CSS variable for provider-item hover and active background color

eben92a48ce874b4e8
diff --git a/core/frontend/src/views/settings/ai-model/components/ModelManager.vue b/core/frontend/src/views/settings/ai-model/components/ModelManager.vue
index 8c4073ca..eb24df65 100644
--- a/core/frontend/src/views/settings/ai-model/components/ModelManager.vue
+++ b/core/frontend/src/views/settings/ai-model/components/ModelManager.vue
@@ -184,11 +184,11 @@ function handleAddModel() {
}
&:hover {
- background: #eef9ee;
+ background: var(--color-primary-2);
}
&.active {
- background: #eef9ee;
+ background: var(--color-primary-2);
}
.item-icon {