Skip to content

Commit c53ac14

Browse files
viva-jinyiDrJKL
authored andcommitted
style: change background color & border color
1 parent f490b81 commit c53ac14

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/components/dialog/content/CloudMissingNodesContent.vue

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<template>
2-
<div class="flex w-[490px] flex-col">
3-
<ContentDivider :width="1" />
2+
<div class="flex w-[490px] flex-col border-t-1 border-b-1 border-border-default">
43
<div class="flex h-full w-full flex-col gap-4 p-4">
54
<!-- Description -->
65
<div>
@@ -13,12 +12,12 @@
1312

1413
<!-- Missing Nodes List Wrapper -->
1514
<div
16-
class="flex flex-col max-h-[256px] rounded-lg py-2 scrollbar-custom bg-component-node-widget-background"
15+
class="flex flex-col max-h-[256px] rounded-lg py-2 scrollbar-custom bg-secondary-background"
1716
>
1817
<div
1918
v-for="(node, i) in uniqueNodes"
2019
:key="i"
21-
class="flex min-h-8 items-center justify-between px-4 py-2 bg-component-node-widget-background text-text-secondary"
20+
class="flex min-h-8 items-center justify-between px-4 py-2 bg-secondary-background text-muted-foreground"
2221
>
2322
<span class="text-xs">
2423
{{ node.label }}
@@ -33,14 +32,11 @@
3332
</p>
3433
</div>
3534
</div>
36-
<ContentDivider :width="1" />
3735
</div>
3836
</template>
3937

4038
<script setup lang="ts">
4139
import { computed } from 'vue'
42-
43-
import ContentDivider from '@/components/common/ContentDivider.vue'
4440
import type { MissingNodeType } from '@/types/comfy'
4541
4642
const props = defineProps<{

src/services/dialogService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export const useDialogService = () => {
6868
dialogComponentProps: {
6969
closable: true,
7070
pt: {
71+
root: { class: 'bg-base-background border-border-default' },
7172
header: { class: '!p-0 !m-0' },
7273
content: { class: '!p-0 overflow-y-hidden' },
7374
footer: { class: '!p-0' },

0 commit comments

Comments
 (0)