mirror of
https://github.com/open-webui/open-webui
synced 2024-11-17 14:02:51 +00:00
enh: update dark mode colors on chat selectors - models
This commit is contained in:
parent
ee279b7976
commit
7a98c1750f
@ -139,12 +139,12 @@
|
|||||||
<div class=" text-lg font-semibold mt-2">@</div>
|
<div class=" text-lg font-semibold mt-2">@</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="max-h-60 flex flex-col w-full rounded-r-xl bg-white">
|
<div class="max-h-60 flex flex-col w-full rounded-r-xl bg-white dark:bg-gray-850">
|
||||||
<div class="m-1 overflow-y-auto p-1 rounded-r-xl space-y-0.5">
|
<div class="m-1 overflow-y-auto p-1 rounded-r-xl space-y-0.5">
|
||||||
{#each filteredModels as model, modelIdx}
|
{#each filteredModels as model, modelIdx}
|
||||||
<button
|
<button
|
||||||
class=" px-3 py-1.5 rounded-xl w-full text-left {modelIdx === selectedIdx
|
class=" px-3 py-1.5 rounded-xl w-full text-left {modelIdx === selectedIdx
|
||||||
? ' bg-gray-100 selected-command-option-button'
|
? ' bg-gray-100 dark:bg-gray-600 selected-command-option-button'
|
||||||
: ''}"
|
: ''}"
|
||||||
type="button"
|
type="button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
@ -155,7 +155,7 @@
|
|||||||
}}
|
}}
|
||||||
on:focus={() => {}}
|
on:focus={() => {}}
|
||||||
>
|
>
|
||||||
<div class=" font-medium text-black line-clamp-1">
|
<div class=" font-medium text-black dark:text-gray-100 line-clamp-1">
|
||||||
{model.name}
|
{model.name}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user