mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-30 17:05:16 -05:00
refac
This commit is contained in:
1 parent
205761a76b
commit
723a1a577f
2 files changed
+6
-12
No files matched your search
@@ -176,13 +176,9 @@
|
||||
? ($settings?.highContrastMode ?? false)
|
||||
? 'bg-blue-600 text-white'
|
||||
: 'bg-blue-500 text-white'
|
||||
: ''}
|
||||
{day.toDateString() === currentDate.toDateString() && !isToday(day)
|
||||
? 'bg-base-200 dark:bg-base-700'
|
||||
: ''}
|
||||
{!isToday(day) && day.toDateString() !== currentDate.toDateString()
|
||||
? 'hover:bg-base-100 dark:hover:bg-base-800'
|
||||
: ''}"
|
||||
: isSelected(day)
|
||||
? 'bg-base-100 dark:bg-base-800'
|
||||
: 'hover:bg-base-50 dark:hover:bg-base-850'}"
|
||||
on:click={() => onDateSelect(day)}
|
||||
>
|
||||
{day.getDate()}
|
||||
|
||||
@@ -420,11 +420,9 @@
|
||||
>{DAY_NAMES[day.getDay()]}</span
|
||||
>
|
||||
<span
|
||||
class="size-5 flex items-center justify-center rounded-full {isToday(day)
|
||||
? ($settings?.highContrastMode ?? false)
|
||||
? 'bg-blue-600 text-white'
|
||||
: 'bg-blue-500 text-white'
|
||||
: 'text-base-400 dark:text-base-500'}"
|
||||
class={isToday(day)
|
||||
? 'font-medium text-base-800 dark:text-base-100'
|
||||
: 'text-base-400 dark:text-base-500'}
|
||||
>
|
||||
{day.getDate()}
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user