fix(redis): raise filter button selected-state contrast

This commit is contained in:
zipg authored and GitHub committed 2026-09-10 12:45:41 +08:00
1 parent 86eabb7224
commit 1e9a3c0f67
1 file changed
+2 -2
@@ -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"