Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
7a98c175
Commit
7a98c175
authored
Jun 16, 2024
by
Peter De-Ath
Browse files
enh: update dark mode colors on chat selectors - models
parent
ee279b79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/lib/components/chat/MessageInput/Models.svelte
src/lib/components/chat/MessageInput/Models.svelte
+3
-3
No files found.
src/lib/components/chat/MessageInput/Models.svelte
View file @
7a98c175
...
@@ -139,12 +139,12 @@
...
@@ -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 @@
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment