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
fb0c2d2a
Commit
fb0c2d2a
authored
Jan 07, 2024
by
Timothy J. Baek
Browse files
feat: light mode styling
parent
9f3df296
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/lib/components/chat/MessageInput.svelte
src/lib/components/chat/MessageInput.svelte
+3
-3
src/lib/components/chat/Messages/UserMessage.svelte
src/lib/components/chat/Messages/UserMessage.svelte
+3
-3
No files found.
src/lib/components/chat/MessageInput.svelte
View file @
fb0c2d2a
...
@@ -280,9 +280,9 @@
...
@@ -280,9 +280,9 @@
<img src={file.url} alt="input" class=" h-16 w-16 rounded-xl object-cover" />
<img src={file.url} alt="input" class=" h-16 w-16 rounded-xl object-cover" />
{:else if file.type === 'doc'}
{:else if file.type === 'doc'}
<div
<div
class="h-16 w-[15rem] flex items-center space-x-3 px-2.5 bg-gray-600 rounded-xl"
class="h-16 w-[15rem] flex items-center space-x-3 px-2.5
dark:
bg-gray-600 rounded-xl
border border-gray-200 dark:border-none
"
>
>
<div class="p-2.5 bg-red-400 rounded-lg">
<div class="p-2.5 bg-red-400
text-white
rounded-lg">
<svg
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
viewBox="0 0 24 24"
...
@@ -301,7 +301,7 @@
...
@@ -301,7 +301,7 @@
</div>
</div>
<div class="flex flex-col justify-center -space-y-0.5">
<div class="flex flex-col justify-center -space-y-0.5">
<div class=" text-gray-100 text-sm line-clamp-1">
<div class="
dark:
text-gray-100 text-sm
font-medium
line-clamp-1">
{file.name}
{file.name}
</div>
</div>
...
...
src/lib/components/chat/Messages/UserMessage.svelte
View file @
fb0c2d2a
...
@@ -60,9 +60,9 @@
...
@@ -60,9 +60,9 @@
<img src={file.url} alt="input" class=" max-h-96 rounded-lg" draggable="false" />
<img src={file.url} alt="input" class=" max-h-96 rounded-lg" draggable="false" />
{:else if file.type === 'doc'}
{:else if file.type === 'doc'}
<div
<div
class="h-16 w-[15rem] flex items-center space-x-3 px-2.5 bg-gray-600 rounded-xl"
class="h-16 w-[15rem] flex items-center space-x-3 px-2.5
dark:
bg-gray-600 rounded-xl
border border-gray-200 dark:border-none
"
>
>
<div class="p-2.5 bg-red-400 rounded-lg">
<div class="p-2.5 bg-red-400
text-white
rounded-lg">
<svg
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
viewBox="0 0 24 24"
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</div>
</div>
<div class="flex flex-col justify-center -space-y-0.5">
<div class="flex flex-col justify-center -space-y-0.5">
<div class=" text-gray-100 text-sm line-clamp-1">
<div class="
dark:
text-gray-100 text-sm
font-medium
line-clamp-1">
{file.name}
{file.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