diff --git a/src/app.css b/src/app.css index 5cfdd8df01..925b9c52df 100644 --- a/src/app.css +++ b/src/app.css @@ -314,12 +314,20 @@ input[type='number'] { .ProseMirror p.is-editor-empty:first-child::before { content: attr(data-placeholder); float: left; - color: #adb5bd; + /* Below color is from tailwind, and has the proper contrast + text-gray-600 from: https://tailwindcss.com/docs/color */ + color: #676767; pointer-events: none; @apply line-clamp-1 absolute; } +@media (prefers-color-scheme: dark) { + .ProseMirror p.is-editor-empty:first-child::before { + color: #757575; + } +} + .ai-autocompletion::after { color: #a0a0a0; diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 9e5593ea9f..26bc6e2262 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -823,7 +823,7 @@ id="chat-input" dir="auto" bind:this={chatInputElement} - class="scrollbar-hidden bg-transparent dark:text-gray-100 outline-hidden w-full pt-3 px-1 resize-none" + class="scrollbar-hidden bg-transparent dark:text-gray-200 outline-hidden w-full pt-3 px-1 resize-none" placeholder={placeholder ? placeholder : $i18n.t('Send a Message')} bind:value={prompt} on:compositionstart={() => (isComposing = true)} diff --git a/src/lib/components/chat/ModelSelector.svelte b/src/lib/components/chat/ModelSelector.svelte index 9c57a15ba6..f136d4ccaa 100644 --- a/src/lib/components/chat/ModelSelector.svelte +++ b/src/lib/components/chat/ModelSelector.svelte @@ -114,7 +114,9 @@ {#if showSetDefault} -
+
{/if} diff --git a/src/lib/components/chat/Suggestions.svelte b/src/lib/components/chat/Suggestions.svelte index 5cf7567dac..14d9304016 100644 --- a/src/lib/components/chat/Suggestions.svelte +++ b/src/lib/components/chat/Suggestions.svelte @@ -64,7 +64,7 @@ } -
+
{#if filteredPrompts.length > 0} {$i18n.t('Suggested')} @@ -74,7 +74,7 @@
{$WEBUI_NAME} ‧ v{WEBUI_VERSION}
@@ -98,7 +98,7 @@ > {prompt.title[0]}
-
+
{prompt.title[1]}
{:else} @@ -107,7 +107,9 @@ > {prompt.content}
-
{$i18n.t('Prompt')}
+
+ {$i18n.t('Prompt')} +
{/if}
diff --git a/src/lib/components/layout/UpdateInfoToast.svelte b/src/lib/components/layout/UpdateInfoToast.svelte index 81451be0b0..7e41ad547d 100644 --- a/src/lib/components/layout/UpdateInfoToast.svelte +++ b/src/lib/components/layout/UpdateInfoToast.svelte @@ -14,7 +14,7 @@
{$i18n.t(`A new version (v{{LATEST_VERSION}}) is now available.`, {