Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix: add active tab underline in classic mode without connection color, use amber folder icons in SQL library

t8y239cf4779cd64
diff --git a/apps/desktop/src/components/layout/AppTabBar.vue b/apps/desktop/src/components/layout/AppTabBar.vue
index eca3edff0a..9b378b9b52 100644
--- a/apps/desktop/src/components/layout/AppTabBar.vue
+++ b/apps/desktop/src/components/layout/AppTabBar.vue
@@ -176,7 +176,7 @@ function tabColorStyle(tab: QueryTab) {
const isClassic = settingsStore.editorSettings.appLayout === "classic";
if (!color) {
if (isClassic) {
- return isActive ? { boxShadow: "0 1px 0 0 var(--color-background)" } : undefined;
+ return isActive ? { boxShadow: "inset 0 -2px 0 var(--ring)" } : undefined;
}
return isActive
? {
diff --git a/apps/desktop/src/components/layout/SqlLibraryPanel.vue b/apps/desktop/src/components/layout/SqlLibraryPanel.vue
index 58bb7c8161..22efbae43f 100644
--- a/apps/desktop/src/components/layout/SqlLibraryPanel.vue
+++ b/apps/desktop/src/components/layout/SqlLibraryPanel.vue
@@ -798,7 +798,7 @@ function showDropInside(targetId: string) {
<div class="min-h-0 flex-1 overflow-y-auto p-1">
<div v-if="showNewFolderInput" class="flex items-center gap-1 px-2 py-1.5">
- <FolderOpen class="h-4 w-4 text-blue-400 shrink-0" />
+ <FolderOpen class="h-4 w-4 text-amber-500 shrink-0" />
<input
ref="newFolderInputRef"
v-model="newFolderName"
@@ -842,7 +842,7 @@ function showDropInside(targetId: string) {
/>
<component
:is="isFolderExpanded(folder.id) ? FolderOpen : FolderClosed"
- class="h-4 w-4 text-blue-400 shrink-0"
+ class="h-4 w-4 text-amber-500 shrink-0"
/>
<template v-if="renamingTarget?.type === 'folder' && renamingTarget.id === folder.id">
<input