From c3ef70d087b1b8f762429459dcd401d03c3e5eb3 Mon Sep 17 00:00:00 2001 From: eti Date: Mon, 3 Aug 2026 16:11:01 +0300 Subject: [PATCH] =?UTF-8?q?web/fmt:=20text-*=20=E2=9E=94=20typography-*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: eti --- web/src/lib/components/comment/Comment.svelte | 4 +-- .../lib/components/comment/CommentBox.svelte | 4 +-- .../lib/components/home/MarketingHome.svelte | 2 +- .../profile/FollowCardContent.svelte | 4 +-- .../profile/FollowerFollowing.svelte | 2 +- .../lib/components/profile/ProfileCard.svelte | 2 +- .../components/profile/ProfileEditForm.svelte | 2 +- .../profile/StringCardContent.svelte | 2 +- .../lib/components/profile/VouchCard.svelte | 4 +-- .../lib/components/reaction/Reaction.svelte | 2 +- .../lib/components/repo/CloneDropdown.svelte | 6 ++-- web/src/lib/components/repo/CommitList.svelte | 2 +- web/src/lib/components/repo/EmptyRepo.svelte | 6 ++-- web/src/lib/components/repo/FileTree.svelte | 2 +- .../components/repo/LastCommitPanel.svelte | 2 +- web/src/lib/components/repo/Readme.svelte | 4 +-- .../components/repo/RepoCardContent.svelte | 2 +- web/src/lib/components/repo/RepoHeader.svelte | 2 +- web/src/lib/components/repo/TagCard.svelte | 2 +- .../repo/issues/IssueCardContent.svelte | 2 +- .../components/repo/issues/IssueForm.svelte | 4 +-- .../repo/issues/IssueInfoBar.svelte | 2 +- .../repo/issues/IssueLabelPanel.svelte | 2 +- .../components/settings/KeyCardContent.svelte | 4 +-- .../settings/tabs/NotificationsTab.svelte | 2 +- .../components/settings/tabs/SitesTab.svelte | 2 +- web/src/lib/components/shell/Footer.svelte | 4 +-- web/src/lib/components/shell/Topbar.svelte | 2 +- .../lib/components/strings/StringForm.svelte | 8 ++--- .../components/timeline/TimelineCard.svelte | 2 +- web/src/lib/components/ui/ButtonCard.svelte | 2 +- web/src/lib/components/ui/Dropdown.svelte | 2 +- web/src/lib/components/ui/Error.svelte | 8 ++--- .../lib/components/ui/MarkdownEditor.svelte | 6 ++-- .../lib/components/ui/Section.stories.svelte | 4 +-- web/src/lib/components/ui/SignupPrompt.svelte | 2 +- web/src/lib/components/ui/Tabs.svelte | 4 +-- web/src/lib/components/ui/Textarea.svelte | 2 +- web/src/routes/login/+page.svelte | 8 ++--- web/src/routes/repo/new/+page.svelte | 34 +++++++++---------- web/src/routes/strings/new/+page.svelte | 2 +- 41 files changed, 82 insertions(+), 82 deletions(-) diff --git a/web/src/lib/components/comment/Comment.svelte b/web/src/lib/components/comment/Comment.svelte index 87fb2e85..8fd23d87 100644 --- a/web/src/lib/components/comment/Comment.svelte +++ b/web/src/lib/components/comment/Comment.svelte @@ -36,7 +36,7 @@ {#if deleted}
This comment was deleted.
@@ -48,7 +48,7 @@
-
+
{authorHandle} diff --git a/web/src/lib/components/comment/CommentBox.svelte b/web/src/lib/components/comment/CommentBox.svelte index 174bde65..87c035d0 100644 --- a/web/src/lib/components/comment/CommentBox.svelte +++ b/web/src/lib/components/comment/CommentBox.svelte @@ -67,7 +67,7 @@
-
+
{authorHandle}
{@render editor()} @@ -75,7 +75,7 @@
{:else}
-
+
{@render editor()} diff --git a/web/src/lib/components/home/MarketingHome.svelte b/web/src/lib/components/home/MarketingHome.svelte index c4b51926..4ed6ffe1 100644 --- a/web/src/lib/components/home/MarketingHome.svelte +++ b/web/src/lib/components/home/MarketingHome.svelte @@ -74,7 +74,7 @@
{#each activityCards as card, index (card.right)}
diff --git a/web/src/lib/components/profile/FollowCardContent.svelte b/web/src/lib/components/profile/FollowCardContent.svelte index e3ea916d..2a4959b6 100644 --- a/web/src/lib/components/profile/FollowCardContent.svelte +++ b/web/src/lib/components/profile/FollowCardContent.svelte @@ -30,11 +30,11 @@ {person.handle} {#if person.description} -

+

{person.description}

{/if} -
+
-
+
(editing = false)} /> {:else} -
+
{#if shown?.description}

{shown.description}

{/if} diff --git a/web/src/lib/components/profile/ProfileEditForm.svelte b/web/src/lib/components/profile/ProfileEditForm.svelte index 7f1cf7d0..4b5d9184 100644 --- a/web/src/lib/components/profile/ProfileEditForm.svelte +++ b/web/src/lib/components/profile/ProfileEditForm.svelte @@ -57,7 +57,7 @@ ); -
+
-
+
{lineCount} line{lineCount !== 1 ? "s" : ""} · {byteCount} byte{byteCount !== 1 ? "s" : ""} diff --git a/web/src/lib/components/timeline/TimelineCard.svelte b/web/src/lib/components/timeline/TimelineCard.svelte index d5cf52d6..9da1a47c 100644 --- a/web/src/lib/components/timeline/TimelineCard.svelte +++ b/web/src/lib/components/timeline/TimelineCard.svelte @@ -7,7 +7,7 @@
{@render header()}
diff --git a/web/src/lib/components/ui/ButtonCard.svelte b/web/src/lib/components/ui/ButtonCard.svelte index 8bcbf6a5..c42eb863 100644 --- a/web/src/lib/components/ui/ButtonCard.svelte +++ b/web/src/lib/components/ui/ButtonCard.svelte @@ -91,7 +91,7 @@ {#if Icon}
{/if} {#if description} diff --git a/web/src/lib/components/ui/Dropdown.svelte b/web/src/lib/components/ui/Dropdown.svelte index 0b73a9a8..02129471 100644 --- a/web/src/lib/components/ui/Dropdown.svelte +++ b/web/src/lib/components/ui/Dropdown.svelte @@ -7,7 +7,7 @@ root: "relative inline-block", plainTrigger: "flex cursor-pointer items-center gap-1 border-0 bg-transparent p-0 text-inherit", - menu: "dropdown-menu fixed z-50 m-0 max-h-[calc(100dvh-1rem)] w-56 max-w-[calc(100vw-1rem)] divide-y divide-border-default overflow-auto rounded-sm border border-border-default bg-background-default text-sm text-foreground-default shadow-regular" + menu: "dropdown-menu fixed z-50 m-0 max-h-[calc(100dvh-1rem)] w-56 max-w-[calc(100vw-1rem)] divide-y divide-border-default overflow-auto rounded-sm border border-border-default bg-background-default typography-paragraph-small text-foreground-default shadow-regular" }, variants: { align: { diff --git a/web/src/lib/components/ui/Error.svelte b/web/src/lib/components/ui/Error.svelte index 8775c2d6..53792aa9 100644 --- a/web/src/lib/components/ui/Error.svelte +++ b/web/src/lib/components/ui/Error.svelte @@ -15,18 +15,18 @@ variants: { size: { small: { - header: "px-3 py-2 text-sm", + header: "px-3 py-2 typography-paragraph-small", icon: "size-4", - toggle: "px-3 py-2 text-sm", + toggle: "px-3 py-2 typography-paragraph-small", chevron: "size-4", body: "px-3 py-2 typography-paragraph-small" }, large: { header: "px-4 py-3 typography-paragraph-large", icon: "size-5", - toggle: "px-4 py-3 text-sm", + toggle: "px-4 py-3 typography-paragraph-small", chevron: "size-4", - body: "px-4 py-3 text-sm" + body: "px-4 py-3 typography-paragraph-small" } } }, diff --git a/web/src/lib/components/ui/MarkdownEditor.svelte b/web/src/lib/components/ui/MarkdownEditor.svelte index 07296316..e4c0d1b2 100644 --- a/web/src/lib/components/ui/MarkdownEditor.svelte +++ b/web/src/lib/components/ui/MarkdownEditor.svelte @@ -105,7 +105,7 @@ /> {:else} {#await preview} -
Rendering…
+
Rendering…
{:then html} {#if html}
@@ -113,12 +113,12 @@ {@html html}
{:else} -
+
Nothing to preview.
{/if} {:catch} -
+
Could not render preview.
{/await} diff --git a/web/src/lib/components/ui/Section.stories.svelte b/web/src/lib/components/ui/Section.stories.svelte index b6924584..72c5759e 100644 --- a/web/src/lib/components/ui/Section.stories.svelte +++ b/web/src/lib/components/ui/Section.stories.svelte @@ -43,7 +43,7 @@ listClass="grid grid-cols-2 gap-4" > {#snippet header()} -

Up to four pinned repositories.

+

Up to four pinned repositories.

{/snippet} {@render items()} @@ -53,7 +53,7 @@
{@render items()} {#snippet footer()} -
footer
+
footer
{/snippet}
diff --git a/web/src/lib/components/ui/SignupPrompt.svelte b/web/src/lib/components/ui/SignupPrompt.svelte index 92628686..b95b86d5 100644 --- a/web/src/lib/components/ui/SignupPrompt.svelte +++ b/web/src/lib/components/ui/SignupPrompt.svelte @@ -10,7 +10,7 @@
or diff --git a/web/src/lib/components/ui/Tabs.svelte b/web/src/lib/components/ui/Tabs.svelte index 65fd0c79..6f905d0d 100644 --- a/web/src/lib/components/ui/Tabs.svelte +++ b/web/src/lib/components/ui/Tabs.svelte @@ -32,7 +32,7 @@ const itemClass = (isActive: boolean) => vertical - ? `flex items-center gap-3 px-3 py-2 text-sm no-underline hover:no-underline ${ + ? `flex items-center gap-3 px-3 py-2 typography-paragraph-small no-underline hover:no-underline ${ isActive ? "bg-background-default text-foreground-default dark:bg-background-inset" : "bg-background-inset text-foreground-muted hover:text-foreground-default dark:bg-background-default" @@ -67,7 +67,7 @@ {/if} {#if tab.count} - {tab.count} {/if} diff --git a/web/src/lib/components/ui/Textarea.svelte b/web/src/lib/components/ui/Textarea.svelte index 2f06b3db..f320f907 100644 --- a/web/src/lib/components/ui/Textarea.svelte +++ b/web/src/lib/components/ui/Textarea.svelte @@ -14,7 +14,7 @@ // box's own minimum and leave dead space under the field. keep this in sync with // textareaMinHeight above — it's 2px shorter because the root's border sits outside it. textarea: - "min-h-63.5 flex-1 self-stretch bg-transparent py-2 text-sm leading-6 outline-none placeholder:text-foreground-placeholder read-only:resize-none disabled:cursor-not-allowed disabled:resize-none" + "min-h-63.5 flex-1 self-stretch bg-transparent py-2 typography-paragraph-small leading-6 outline-none placeholder:text-foreground-placeholder read-only:resize-none disabled:cursor-not-allowed disabled:resize-none" }, variants: { error: { diff --git a/web/src/routes/login/+page.svelte b/web/src/routes/login/+page.svelte index c7537c98..152eabac 100644 --- a/web/src/routes/login/+page.svelte +++ b/web/src/routes/login/+page.svelte @@ -44,7 +44,7 @@ {/if} diff --git a/web/src/routes/repo/new/+page.svelte b/web/src/routes/repo/new/+page.svelte index 30338445..ff9d309a 100644 --- a/web/src/routes/repo/new/+page.svelte +++ b/web/src/routes/repo/new/+page.svelte @@ -24,7 +24,7 @@

Create a new repository

-

+

Repositories contain a project's files and version history. All repositories are publicly accessible.

@@ -35,7 +35,7 @@