This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-15 16:21:47 -04:00
1 parent 946487a3ba
commit 86f55d04ec
7 files changed
+138 -101

No files matched your search

@@ -459,8 +459,8 @@
: selected
? ($settings?.highContrastMode ?? false)
? 'bg-gray-100 dark:bg-gray-900 selected'
: 'bg-gray-100 dark:bg-gray-950 selected'
: 'group-hover:bg-gray-100 dark:group-hover:bg-gray-950'} whitespace-nowrap text-ellipsis relative {generating
: 'bg-gray-100 dark:bg-gray-900 selected'
: 'hover:bg-gray-50 dark:hover:bg-gray-900 group-hover:bg-gray-50 dark:group-hover:bg-gray-900'} whitespace-nowrap text-ellipsis relative transition {generating
? 'cursor-not-allowed'
: ''}"
>
@@ -498,8 +498,8 @@
: selected
? ($settings?.highContrastMode ?? false)
? 'bg-gray-100 dark:bg-gray-900 selected'
: 'bg-gray-100 dark:bg-gray-950 selected'
: ' group-hover:bg-gray-100 dark:group-hover:bg-gray-950'} whitespace-nowrap text-ellipsis"
: 'bg-gray-100 dark:bg-gray-900 selected'
: ' hover:bg-gray-50 dark:hover:bg-gray-900 group-hover:bg-gray-50 dark:group-hover:bg-gray-900'} whitespace-nowrap text-ellipsis transition"
href="/c/{id}"
on:click={() => {
dispatch('select');
@@ -559,7 +559,7 @@
<div
dir="auto"
class="text-left self-center overflow-hidden w-full h-[20px] truncate {unread
? 'font-normal text-gray-900 dark:text-gray-100'
? 'font-normal text-gray-800 dark:text-gray-200'
: ''}"
>
{title}
@@ -587,8 +587,8 @@
: selected
? ($settings?.highContrastMode ?? false)
? 'from-gray-100 dark:from-gray-900 selected'
: 'from-gray-100 dark:from-gray-950 selected'
: 'invisible group-hover:visible from-gray-100 dark:from-gray-950'}
: 'from-gray-100 dark:from-gray-900 selected'
: 'invisible group-hover:visible from-gray-50 dark:from-gray-900'}
absolute {className === 'pr-2'
? 'right-[8px]'
: 'right-1'} top-[4px] py-1 pr-0.5 mr-1.5 pl-5 bg-linear-to-l from-80%
@@ -629,7 +629,7 @@
}}
type="button"
>
<ArchiveIcon className="size-4 translate-y-[0.5px]" strokeWidth="1.5" />
<ArchiveIcon className="size-4 translate-y-[0.5px]" strokeWidth="1.5" />
</button>
</Tooltip>
@@ -535,9 +535,9 @@
<div class="w-full group">
<div
id="folder-{folderId}-button"
class="relative w-full py-1 px-1.5 rounded-xl flex items-center gap-1.5 hover:bg-gray-100 dark:hover:bg-gray-900 transition {$selectedFolder?.id ===
class="relative w-full py-1 px-1.5 rounded-xl flex items-center gap-1.5 hover:bg-gray-50/40 dark:hover:bg-gray-800/40 transition {$selectedFolder?.id ===
folderId
? 'bg-gray-100 dark:bg-gray-900 selected'
? 'bg-gray-100/80 dark:bg-gray-850/50 selected'
: ''}"
on:dblclick={(e) => {
if (folders[folderId]?.shared && folders[folderId]?.permission !== 'write') return;
@@ -577,7 +577,7 @@
}}
>
<button
class="text-gray-500 dark:text-gray-500 transition-all p-1 hover:bg-gray-200 dark:hover:bg-gray-850 rounded-lg"
class="text-gray-500 dark:text-gray-500 transition-all p-1 hover:bg-gray-50/40 dark:hover:bg-gray-800/40 rounded-lg"
on:click={(e) => {
e.stopPropagation();
e.stopImmediatePropagation();
@@ -58,7 +58,7 @@
<button
class="w-full py-1 flex items-center gap-1 text-xs text-left font-normal
text-gray-600 dark:text-gray-400
hover:text-gray-900 dark:hover:text-gray-200
hover:text-gray-800 dark:hover:text-gray-300
transition-colors duration-100 cursor-pointer"
on:click={toggleExpand}
>