Custom background image (#698)

This commit is contained in:
mijuku233
2024-09-02 07:46:55 +08:00
committed by GitHub
parent c181bf1f55
commit 8ba5da14bc
2 changed files with 2 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ body {
overflow: hidden;
grid-template-columns: auto 1fr auto;
grid-template-rows: auto 1fr auto;
background-color: var(--bg-color);
background: var(--bg-color) var(--bg-img);
color: var(--fg-color);
min-height: -webkit-fill-available;
max-height: -webkit-fill-available;

View File

@@ -59,6 +59,7 @@ const litegraphBaseSchema = z
const comfyBaseSchema = z.object({
['fg-color']: z.string(),
['bg-color']: z.string(),
['bg-img']: z.string().optional(),
['comfy-menu-bg']: z.string(),
['comfy-input-bg']: z.string(),
['input-text']: z.string(),