improve suggestions contrast

This commit is contained in:
Sine Jespersen 2025-05-14 09:52:44 +02:00
parent 43d0db5eea
commit 5db783d67b

View File

@ -64,7 +64,7 @@
} }
</script> </script>
<div class="mb-1 flex gap-1 text-xs font-medium items-center text-gray-400 dark:text-gray-600"> <div class="mb-1 flex gap-1 text-xs font-medium items-center text-gray-600 dark:text-gray-400">
{#if filteredPrompts.length > 0} {#if filteredPrompts.length > 0}
<Bolt /> <Bolt />
{$i18n.t('Suggested')} {$i18n.t('Suggested')}
@ -74,7 +74,7 @@
<div <div
class="flex w-full {$settings?.landingPageMode === 'chat' class="flex w-full {$settings?.landingPageMode === 'chat'
? ' -mt-1' ? ' -mt-1'
: 'text-center items-center justify-center'} self-start text-gray-400 dark:text-gray-600" : 'text-center items-center justify-center'} self-start text-gray-600 dark:text-gray-400"
> >
{$WEBUI_NAME} ‧ v{WEBUI_VERSION} {$WEBUI_NAME} ‧ v{WEBUI_VERSION}
</div> </div>
@ -98,7 +98,7 @@
> >
{prompt.title[0]} {prompt.title[0]}
</div> </div>
<div class="text-xs text-gray-500 font-normal line-clamp-1"> <div class="text-xs text-gray-600 dark:text-gray-400 font-normal line-clamp-1">
{prompt.title[1]} {prompt.title[1]}
</div> </div>
{:else} {:else}
@ -107,7 +107,9 @@
> >
{prompt.content} {prompt.content}
</div> </div>
<div class="text-xs text-gray-500 font-normal line-clamp-1">{$i18n.t('Prompt')}</div> <div class="text-xs text-gray-600 dark:text-gray-400 font-normal line-clamp-1">
{$i18n.t('Prompt')}
</div>
{/if} {/if}
</div> </div>
</button> </button>