style(ui): improve text visibility in dark mode for model badges

This commit is contained in:
AAEE86
2026-01-08 10:26:58 +08:00
parent 1521ce5a96
commit f9a8be898a

View File

@@ -32,11 +32,11 @@
v-for="modelName in selectedModels" v-for="modelName in selectedModels"
:key="modelName" :key="modelName"
variant="secondary" variant="secondary"
class="text-[11px] px-2 py-0.5 bg-background border-border/60 shadow-sm" class="text-[11px] px-2 py-0.5 bg-background border-border/60 shadow-sm text-foreground dark:text-white"
> >
{{ getModelLabel(modelName) }} {{ getModelLabel(modelName) }}
<button <button
class="ml-0.5 hover:text-destructive focus:outline-none" class="ml-0.5 hover:text-destructive focus:outline-none text-foreground dark:text-white"
@click.stop="toggleModel(modelName, false)" @click.stop="toggleModel(modelName, false)"
> >
&times; &times;