From 1e9a3c0f6703eaf376eccbda556f9ee43b693877 Mon Sep 17 00:00:00 2001 From: zipg Date: Thu, 10 Sep 2026 12:45:41 +0800 Subject: [PATCH] fix(redis): raise filter button selected-state contrast --- apps/desktop/src/components/redis/RedisKeyBrowser.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/components/redis/RedisKeyBrowser.vue b/apps/desktop/src/components/redis/RedisKeyBrowser.vue index a5316cd906..aa818f9759 100644 --- a/apps/desktop/src/components/redis/RedisKeyBrowser.vue +++ b/apps/desktop/src/components/redis/RedisKeyBrowser.vue @@ -2975,7 +2975,7 @@ defineExpose({ focusSearch, insertCommand, executeCommand: executeAiCommand }); variant="ghost" size="sm" class="h-8 max-w-full shrink-0 whitespace-nowrap px-2 text-xs" - :class="fuzzyKeySearch ? 'bg-accent text-accent-foreground' : 'border border-dashed border-border/70 text-muted-foreground hover:text-foreground'" + :class="fuzzyKeySearch ? 'bg-foreground/10 text-foreground hover:bg-foreground/15 hover:text-foreground dark:bg-foreground/20 dark:hover:bg-foreground/25' : 'border border-border text-muted-foreground hover:bg-accent hover:text-foreground'" :title="t('redis.fuzzyMatchTitle')" :aria-pressed="fuzzyKeySearch" @click="toggleFuzzyKeySearch" @@ -2988,7 +2988,7 @@ defineExpose({ focusSearch, insertCommand, executeCommand: executeAiCommand }); variant="ghost" size="sm" class="h-8 shrink-0 whitespace-nowrap px-2 text-xs" - :class="noExpiryOnly ? 'bg-accent text-accent-foreground' : 'border border-dashed border-border/70 text-muted-foreground hover:text-foreground'" + :class="noExpiryOnly ? 'bg-foreground/10 text-foreground hover:bg-foreground/15 hover:text-foreground dark:bg-foreground/20 dark:hover:bg-foreground/25' : 'border border-border text-muted-foreground hover:bg-accent hover:text-foreground'" :title="t('redis.noExpiryOnlyTitle')" :aria-pressed="noExpiryOnly" :disabled="isFetchingAll"