diff --git a/packages/renderer/src/lib/dialogs/QuickPickInput.svelte b/packages/renderer/src/lib/dialogs/QuickPickInput.svelte index 8f408c3c6..6b25badbf 100644 --- a/packages/renderer/src/lib/dialogs/QuickPickInput.svelte +++ b/packages/renderer/src/lib/dialogs/QuickPickInput.svelte @@ -292,7 +292,7 @@ function handleKeydown(e: KeyboardEvent) { {#if title}
+ class="w-full bg-[var(--pd-input-field-focused-bg)] rounded-sm text-[var(--pd-input-select-hover-text)] text-center max-w-[700px] truncate cursor-default"> {title}
{/if} @@ -302,9 +302,9 @@ function handleKeydown(e: KeyboardEvent) { bind:this={inputElement} on:input={event => onInputChange(event)} bind:value={inputValue} - class="px-1 w-full h-20 text-gray-400 bg-zinc-700 border {validationError + class="px-1 w-full h-20 text-[var(--pd-input-select-hover-text)] border {validationError ? 'border-red-700' - : 'border-charcoal-600'} focus:outline-none" + : 'bg-[var(--pd-input-field-focused-bg)] border-[var(--pd-input-field-focused-bg)]'} focus:outline-none" placeholder={placeHolder}> {:else} onInputChange(event)} type="text" bind:value={inputValue} - class="px-1 w-full text-gray-400 bg-zinc-700 border {validationError + class="px-1 w-full text-[var(--pd-input-select-hover-text)] border {validationError ? 'border-red-700' - : 'border-charcoal-600'} focus:outline-none" + : 'bg-[var(--pd-input-field-focused-bg)] border-[var(--pd-input-field-focused-bg)]'} focus:outline-none" placeholder={placeHolder} /> {/if} {#if quickPickCanPickMany} @@ -324,40 +324,41 @@ function handleKeydown(e: KeyboardEvent) { {#if mode === 'InputBox'} {#if validationError} -
{validationError}
+
+ {validationError} +
{:else} -
{prompt}
+
+ {prompt} +
{#if markdownDescription && markdownDescription.length > 0} -
+
{/if} {/if} {:else if mode === 'QuickPick'} {#each quickPickFilteredItems as item, i} -
+
{#if quickPickCanPickMany} {/if}