forked from open-webui/open-webui
feat: light mode styling
This commit is contained in:
parent
9f3df2969d
commit
fb0c2d2a8e
2 changed files with 6 additions and 6 deletions
|
@ -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 @@
|
||||||
</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>
|
||||||
|
|
||||||
|
|
|
@ -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 @@
|
||||||
</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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue