Skip to content

Commit d7f11dd

Browse files
comfy-pr-botDrJKL
andauthored
[backport core/1.32] Style: Fix the filter/search/sort controls on the Template Select Modal (#6867)
Backport of #6835 to `core/1.32` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6867-backport-core-1-32-Style-Fix-the-filter-search-sort-controls-on-the-Template-Select-Mo-2b46d73d3650817ea7c1d8adfbc0a69e) by [Unito](https://www.unito.io) Co-authored-by: Alexander Brown <drjkl@comfy.org>
1 parent 7a21252 commit d7f11dd

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/components/custom/widget/WorkflowTemplateSelectorDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
class="w-62.5"
9393
>
9494
<template #icon>
95-
<i class="icon-[lucide--arrow-up-down]" />
95+
<i class="icon-[lucide--arrow-up-down] text-muted-foreground" />
9696
</template>
9797
</SingleSelect>
9898
</div>

src/components/input/MultiSelect.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
root: ({ props }: MultiSelectPassThroughMethodOptions) => ({
1818
class: cn(
1919
'h-10 relative inline-flex cursor-pointer select-none',
20-
'rounded-lg bg-base-background text-base-foreground',
20+
'rounded-lg bg-secondary-background text-base-foreground',
2121
'transition-all duration-200 ease-in-out',
2222
'border-[2.5px] border-solid',
2323
selectedCount > 0
@@ -127,7 +127,7 @@
127127

128128
<!-- Trigger value (keep text scale identical) -->
129129
<template #value>
130-
<span class="text-sm text-muted-foreground">
130+
<span class="text-sm">
131131
{{ label }}
132132
</span>
133133
<span
@@ -140,7 +140,7 @@
140140

141141
<!-- Chevron size identical to current -->
142142
<template #dropdownicon>
143-
<i class="icon-[lucide--chevron-down] text-lg text-neutral-400" />
143+
<i class="icon-[lucide--chevron-down] text-muted-foreground" />
144144
</template>
145145

146146
<!-- Custom option row: square checkbox + label (unchanged layout/colors) -->

src/components/input/SearchBox.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div :class="wrapperStyle" @click="focusInput">
3-
<i class="icon-[lucide--search] text-muted" />
3+
<i class="icon-[lucide--search] text-muted-foreground" />
44
<InputText
55
ref="input"
66
v-model="internalSearchQuery"
@@ -73,7 +73,7 @@ onMounted(() => autofocus && focusInput())
7373
7474
const wrapperStyle = computed(() => {
7575
const baseClasses =
76-
'relative flex w-full items-center gap-2 bg-base-background cursor-text'
76+
'relative flex w-full items-center gap-2 bg-secondary-background cursor-text'
7777
7878
if (showBorder) {
7979
return cn(

src/components/input/SingleSelect.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
'h-10 relative inline-flex cursor-pointer select-none items-center',
2121
// trigger surface
2222
'rounded-lg',
23-
'bg-base-background text-base-foreground',
23+
'bg-secondary-background text-base-foreground',
2424
'border-[2.5px] border-solid border-transparent',
2525
'transition-all duration-200 ease-in-out',
2626
'focus-within:border-node-component-border',
@@ -84,7 +84,7 @@
8484
>
8585
<!-- Trigger value -->
8686
<template #value="slotProps">
87-
<div class="flex items-center gap-2 text-sm text-neutral-500">
87+
<div class="flex items-center gap-2 text-sm">
8888
<slot name="icon" />
8989
<span
9090
v-if="slotProps.value !== null && slotProps.value !== undefined"
@@ -100,7 +100,7 @@
100100

101101
<!-- Trigger caret -->
102102
<template #dropdownicon>
103-
<i class="icon-[lucide--chevron-down] text-base text-neutral-500" />
103+
<i class="icon-[lucide--chevron-down] text-muted-foreground" />
104104
</template>
105105

106106
<!-- Option row -->

0 commit comments

Comments
 (0)