diff --git a/src/lib/components/ChatSidebar.svelte b/src/lib/components/ChatSidebar.svelte index 32a3143..12140a7 100644 --- a/src/lib/components/ChatSidebar.svelte +++ b/src/lib/components/ChatSidebar.svelte @@ -144,7 +144,7 @@ Chat @@ -275,20 +275,22 @@ {/if} -
+
{#if replyTarget} {@const replyAuthor = resolveAuthor(replyTarget.pubkey)}
- ↳ Reply to + ↳ Reply to {replyAuthor.name}: - {truncate(replyTarget.content, 80)} + {truncate(replyTarget.content, 80)}
diff --git a/src/lib/components/JoinModal.svelte b/src/lib/components/JoinModal.svelte index d8c0fb3..64531f8 100644 --- a/src/lib/components/JoinModal.svelte +++ b/src/lib/components/JoinModal.svelte @@ -47,15 +47,15 @@ onclick={onClose} aria-label="Close" disabled={joinState.busy} - class="absolute right-3 top-3 text-2xl leading-none text-gray-400 hover:text-gray-700 disabled:opacity-50" + class="absolute right-3 top-3 text-2xl leading-none text-neutral-400 hover:text-neutral-700 disabled:opacity-50" > × -

+

Join this group

-

+

{#if joinState.codeRequired} This community requires an invite code. Enter your code below to request access. If you don't have one, contact the admin. @@ -87,7 +87,7 @@ autocapitalize="off" spellcheck="false" onkeydown={(e) => e.key === "Enter" && onRetry()} - class="mb-3 w-full rounded border border-gray-200 px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-brand disabled:opacity-50" + class="mb-3 w-full rounded border border-neutral-200 px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-brand disabled:opacity-50" /> {/if} @@ -96,15 +96,14 @@ type="button" onclick={onClose} disabled={joinState.busy} - class="rounded px-3 py-2 text-sm font-medium text-gray-600 hover:bg-gray-100 disabled:opacity-50" + class="rounded px-3 py-2 text-sm font-medium text-neutral-600 hover:bg-neutral-100 disabled:opacity-50" > Close - {/if} - {#if auth.user} - - {:else} - - {/if} + {#if draftState.iconized} + + {/if} + {#if auth.user} + + {:else} + + {/if}

diff --git a/src/lib/components/LoginModal.svelte b/src/lib/components/LoginModal.svelte index d7b457e..6f07fe9 100644 --- a/src/lib/components/LoginModal.svelte +++ b/src/lib/components/LoginModal.svelte @@ -97,12 +97,12 @@ type="button" onclick={onClose} aria-label="Close" - class="absolute right-3 top-3 text-2xl leading-none text-gray-400 hover:text-gray-700" + class="absolute right-3 top-3 text-2xl leading-none text-neutral-400 hover:text-neutral-700" > × -

+

{view === "extension" ? "Log in" : "Log in with nsec"}

@@ -124,7 +124,7 @@ {busy ? "Connecting…" : "Log in with extension"} {#if !hasExtension} -

+

No Nostr extension detected in this browser.

{/if} @@ -149,7 +149,7 @@ autocorrect="off" spellcheck="false" onkeydown={(e) => e.key === "Enter" && handleNsec()} - class="w-full rounded border border-gray-200 px-3 py-2 font-mono text-sm focus:outline-none focus:ring-1 focus:ring-brand disabled:opacity-50" + class="w-full rounded border border-neutral-200 px-3 py-2 font-mono text-sm focus:outline-none focus:ring-1 focus:ring-brand disabled:opacity-50" /> -

+

Your key is kept in this browser. Use only for testing.

- diff --git a/src/lib/components/NewDiscussionModal.svelte b/src/lib/components/NewDiscussionModal.svelte index 3f44c03..ceb4f5e 100644 --- a/src/lib/components/NewDiscussionModal.svelte +++ b/src/lib/components/NewDiscussionModal.svelte @@ -139,7 +139,7 @@
{#if groupStore.data?.name} -

{groupStore.data.name}

+

{groupStore.data.name}

{/if}

New discussion

@@ -147,7 +147,7 @@ type="button" onclick={iconizeDraft} aria-label="Minimize draft" - class="rounded bg-gray-50 p-1.5 text-gray-700 hover:bg-gray-100" + class="rounded bg-neutral-50 p-1.5 text-neutral-700 hover:bg-neutral-100" > @@ -180,7 +180,7 @@ bind:value={draftState.title} disabled={draftState.publishing} maxlength="72" - class="w-full rounded border border-gray-200 px-3 py-2 focus:outline-none focus:ring-1 focus:ring-brand disabled:opacity-50" + class="w-full rounded border border-neutral-200 px-3 py-2 focus:outline-none focus:ring-1 focus:ring-brand disabled:opacity-50" />
@@ -189,12 +189,12 @@
{#each draftState.labels as l} {#if suggestion}