This commit is contained in:
Timothy Jaeryang Baek
2026-07-14 04:15:20 -04:00
parent a7fbf66269
commit aedb6bef4e
208 changed files with 1056 additions and 1066 deletions
@@ -81,9 +81,9 @@
<MemberSelector bind:userIds bind:groupIds includeGroups={true} />
</div>
<div class="flex justify-end pt-3 text-sm font-medium gap-1.5">
<div class="flex justify-end pt-3 text-sm font-normal gap-1.5">
<button
class="px-3.5 py-1.5 text-sm font-medium bg-black hover:bg-gray-950 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full flex flex-row space-x-1 items-center {loading
class="px-3.5 py-1.5 text-sm font-normal bg-black hover:bg-gray-950 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full flex flex-row space-x-1 items-center {loading
? ' cursor-not-allowed'
: ''}"
type="submit"
@@ -111,7 +111,7 @@
<div class="">
<button
type="button"
class=" px-3 py-1.5 gap-1 rounded-xl bg-gray-100/50 dark:text-white dark:bg-gray-850/50 text-black transition font-medium text-xs flex items-center justify-center"
class=" px-3 py-1.5 gap-1 rounded-xl bg-gray-100/50 dark:text-white dark:bg-gray-850/50 text-black transition font-normal text-xs flex items-center justify-center"
on:click={onAdd}
>
<Plus className="size-3.5 " />
@@ -212,7 +212,7 @@
<div class="w-full">
{#each users as user, userIdx (user.id)}
<div class=" dark:border-gray-850 text-xs flex items-center justify-between">
<div class="px-2 py-1.5 font-medium text-gray-900 dark:text-white flex-1">
<div class="px-2 py-1.5 font-normal text-gray-900 dark:text-white flex-1">
<div class="flex items-center gap-2">
<ProfilePreview {user} side="right" align="center" sideOffset={6}>
<img
@@ -222,7 +222,7 @@
/>
</ProfilePreview>
<Tooltip content={user.email} placement="top-start">
<div class="font-medium truncate">{user.name}</div>
<div class="font-normal truncate">{user.name}</div>
</Tooltip>
{#if user?.is_active}
+1 -1
View File
@@ -91,7 +91,7 @@
</div>
{/if}
<div class="text-2xl font-medium capitalize">
<div class="text-2xl font-normal capitalize">
{#if channel?.name}
{channel.name}
{:else}
@@ -402,7 +402,7 @@
{#if message.created_at}
<div
class="mt-1.5 flex shrink-0 items-center text-xs self-center invisible group-hover:visible text-gray-500 font-medium first-letter:capitalize"
class="mt-1.5 flex shrink-0 items-center text-xs self-center invisible group-hover:visible text-gray-500 font-normal first-letter:capitalize"
>
<Tooltip content={dayjs(message.created_at / 1000000).format('LLLL')}>
{dayjs(message.created_at / 1000000).format('HH:mm')}
@@ -415,7 +415,7 @@
<div class="flex-auto w-0 pl-2">
{#if showUserProfile}
<Name>
<div class=" self-end text-base shrink-0 font-medium truncate">
<div class=" self-end text-base shrink-0 font-normal truncate">
{#if message?.meta?.model_id}
{message?.meta?.model_name ?? message?.meta?.model_id}
{:else}
@@ -425,7 +425,7 @@
{#if message.created_at}
<div
class=" self-center text-xs text-gray-400 font-medium first-letter:capitalize ml-0.5 translate-y-[1px]"
class=" self-center text-xs text-gray-400 font-normal first-letter:capitalize ml-0.5 translate-y-[1px]"
>
<Tooltip content={dayjs(message.created_at / 1000000).format('LLLL')}>
<span class="line-clamp-1">
@@ -497,7 +497,7 @@
}
}}
/>
<div class=" mt-2 mb-1 flex justify-end text-sm font-medium">
<div class=" mt-2 mb-1 flex justify-end text-sm font-normal">
<div class="flex space-x-1.5">
<button
id="close-edit-message-button"
@@ -593,7 +593,7 @@
<Emoji shortCode={reaction.name} />
{#if reaction.users.length > 0}
<div class="text-xs font-medium text-gray-500 dark:text-gray-400">
<div class="text-xs font-normal text-gray-500 dark:text-gray-400">
{reaction.users?.length}
</div>
{/if}
@@ -628,7 +628,7 @@
onThread(message.id);
}}
>
<span class="font-medium mr-1">
<span class="font-normal mr-1">
{$i18n.t('{{COUNT}} Replies', { COUNT: message.reply_count })}</span
><span>
{' - '}{$i18n.t('Last reply')}
@@ -44,7 +44,7 @@
</div>
<div class=" flex flex-col w-full flex-1">
<div class="mb-0.5 font-medium line-clamp-1 pr-2">
<div class="mb-0.5 font-normal line-clamp-1 pr-2">
{user.name}
</div>
@@ -129,7 +129,7 @@
<ChatBubbleOval className="size-4" />
</div>
<div class="font-medium">
<div class="font-normal">
{$i18n.t('Message')}
</div>
</button>
+1 -1
View File
@@ -174,7 +174,7 @@
{#if channel}
<div class="flex flex-col w-full h-full bg-gray-50 dark:bg-gray-850">
<div class="sticky top-0 flex items-center justify-between px-3.5 py-3">
<div class=" font-medium text-lg">{$i18n.t('Thread')}</div>
<div class=" font-normal text-lg">{$i18n.t('Thread')}</div>
<div>
<button
@@ -95,7 +95,7 @@
alt=""
/>
<div class="flex-1 text-left min-w-0">
<div class="font-medium text-gray-900 dark:text-white truncate">
<div class="font-normal text-gray-900 dark:text-white truncate">
{name}
</div>
<div class="text-gray-500 text-xs">
@@ -108,7 +108,7 @@
<button
type="button"
class="px-3 py-1.5 gap-1 rounded-xl bg-gray-100/50 dark:bg-gray-850/50 text-black dark:text-white transition font-medium text-xs flex items-center justify-center"
class="px-3 py-1.5 gap-1 rounded-xl bg-gray-100/50 dark:bg-gray-850/50 text-black dark:text-white transition font-normal text-xs flex items-center justify-center"
on:click={createHandler}
disabled={isSaving}
>
@@ -158,9 +158,9 @@
</div>
{/if}
<div class="flex justify-end text-sm font-medium gap-1.5">
<div class="flex justify-end text-sm font-normal gap-1.5">
<button
class="px-3.5 py-1.5 text-sm font-medium bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full flex items-center gap-2 whitespace-nowrap {isSaving
class="px-3.5 py-1.5 text-sm font-normal bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full flex items-center gap-2 whitespace-nowrap {isSaving
? 'cursor-not-allowed'
: ''}"
type="submit"