diff --git a/cypress/e2e/projectCommits.spec.ts b/cypress/e2e/projectCommits.spec.ts index ee806e122..97315f9ca 100644 --- a/cypress/e2e/projectCommits.spec.ts +++ b/cypress/e2e/projectCommits.spec.ts @@ -150,10 +150,7 @@ describe("project commits", () => { "/seeds/willow.radicle.garden/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/commits/cbf5df499ab4f4a908f1756fbe2c236a4530516a", ); }); - cy.get("header .summary .text-medium").should( - "have.text", - "initial commit", - ); + cy.get("header .summary .txt-medium").should("have.text", "initial commit"); cy.get(".commit pre.description").should( "have.text", "this is the first commit of many", @@ -163,7 +160,7 @@ describe("project commits", () => { "have.text", "1 file(s) changed, 1 file(s) created, 1 file(s) deleted\n with\n 0 addition(s)\n and\n 0 deletion(s)", ); - cy.get("header.file-header:nth-child(1) p.file-path") + cy.get("header.file-header:nth-child(1) p") .first() .should("have.text", "test.md") .next() diff --git a/index.html b/index.html index 161647320..d6559be2f 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,7 @@ + diff --git a/public/fonts/SourceCodePro-Bold.otf b/public/fonts/SourceCodePro-Bold.otf deleted file mode 100644 index 0b273d987..000000000 Binary files a/public/fonts/SourceCodePro-Bold.otf and /dev/null differ diff --git a/public/fonts/SourceCodePro-Semibold.otf b/public/fonts/SourceCodePro-Semibold.otf deleted file mode 100644 index a61686cca..000000000 Binary files a/public/fonts/SourceCodePro-Semibold.otf and /dev/null differ diff --git a/public/index.css b/public/index.css index abef65cd7..809334478 100644 --- a/public/index.css +++ b/public/index.css @@ -1,5 +1,3 @@ -@import url(./typography.css); - * { outline: none !important; box-sizing: border-box; @@ -70,10 +68,6 @@ --color-glow-error: #ff555522; --color-scrollbar: var(--color-foreground-subtler); - --font-family-sans-serif: Inter, sans-serif; - --font-family-monospace: monospace; - --font-weight-medium: 600; - --font-weight-bold: 700; --border-radius: 0.75rem; --border-radius-small: 0.5rem; --border-radius-round: 10rem; @@ -89,10 +83,14 @@ --button-tiny-height: 1.5rem; } +html { + height: 100%; + overflow-y: scroll; + -ms-overflow-style: scrollbar; + -webkit-tap-highlight-color: transparent; +} + body { - font-size: 16px; - font-weight: 400; - line-height: 1.5; min-width: var(--content-min-width); height: 100%; margin: 0; @@ -100,7 +98,6 @@ body { color: white; text-align: left; background-color: var(--color-background); - -webkit-font-smoothing: antialiased; scrollbar-width: thin; scrollbar-height: thin; scrollbar-color: var(--color-scrollbar) transparent; @@ -112,15 +109,6 @@ body { } } -html { - height: 100%; - overflow-y: scroll; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - -ms-overflow-style: scrollbar; - -webkit-tap-highlight-color: transparent; -} - ::-moz-selection { background: var(--color-primary); color: var(--color-background); @@ -155,23 +143,11 @@ body::-webkit-scrollbar-thumb { background: var(--color-negative); } -code { - font-family: monospace; - font-size: 0.95rem; -} - main, section { display: block; } -body, -input, -textarea { - font-family: var(--font-family-sans-serif); - font-feature-settings: "ss01", "ss02", "cv01", "cv03"; -} - a { color: inherit; text-decoration: none; @@ -198,12 +174,13 @@ a.address { } input[type="text"] { + font-family: var(--font-family-sans-serif); line-height: 1.6; } input[type="text"] { outline: none; border: none; - font-size: 1rem; + font-size: var(--font-size-regular); color: var(--color-foreground); background: transparent; border: 1px solid var(--color-secondary); @@ -217,7 +194,7 @@ input[type="text"]::placeholder { opacity: 1 !important; } input[type="text"].small { - font-size: 0.875rem; + font-size: var(--font-size-small); } input.wide { width: 44ch; @@ -245,16 +222,9 @@ label.input { .label { color: var(--color-secondary); } -.subtle { - color: var(--color-foreground-faded); - font-style: italic; -} .faded { color: var(--color-foreground-faded); } -.bold { - font-weight: bold !important; -} .yellow { color: var(--color-yellow); background: var(--color-yellow-background-solid); @@ -269,10 +239,6 @@ label.input { align-items: center; } -.font-mono { - font-family: var(--font-family-monospace); -} - .mobile, .mobile-inline { display: none !important; @@ -302,28 +268,6 @@ span.align { align-items: center; justify-content: flex-start; } -span.small, -.text-xsmall { - font-size: 0.75rem; -} -.text-small { - font-size: 0.875rem; -} -.text-medium { - font-size: 1.25rem; -} -.text-big { - font-size: 1.5rem; -} -.text-truncate { - white-space: nowrap; - text-overflow: ellipsis; - overflow-x: hidden; -} -.text-faded { - color: var(--color-foreground-faded); -} - button.error:hover { color: var(--color-background); background-color: var(--color-negative); @@ -339,30 +283,5 @@ td { text-overflow: ellipsis; } td strong { - font-weight: 600; -} - -h1, -.title { - font-size: 1.75rem; - font-weight: normal; - color: var(--color-secondary); - text-align: left; - text-overflow: ellipsis; - overflow-x: hidden; -} -h1 { - margin-bottom: 2rem; -} - -h2 { - margin: 1.5rem 0; -} - -h3 { - margin: 1rem 0; -} - -p { - margin: 1rem 0; + font-weight: var(--font-weight-medium); } diff --git a/public/typography.css b/public/typography.css index b186db7be..7bb984eb8 100644 --- a/public/typography.css +++ b/public/typography.css @@ -8,7 +8,6 @@ @font-face { font-family: "Inter"; - font-style: bold; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.otf"); @@ -16,22 +15,78 @@ @font-face { font-family: "Inter"; - font-style: bolder; font-weight: 700; font-display: swap; src: url("fonts/Inter-Bold.otf"); } -@font-face { - font-family: "Source Code Pro"; - font-style: bold; - font-weight: 600; - src: url("fonts/SourceCodePro-Semibold.otf"); +:root { + --font-family-sans-serif: Inter, sans-serif; + --font-family-monospace: monospace; + --font-weight-normal: 400; + --font-weight-medium: 600; + --font-weight-bold: 700; + --font-size-tiny: 0.75rem; + --font-size-small: 0.875rem; + --font-size-regular: 1rem; + --font-size-medium: 1.25rem; + --font-size-large: 1.75rem; + --font-size-huge: 2rem; } -@font-face { - font-family: "Source Code Pro"; - font-style: bold; - font-weight: 700; - src: url("fonts/SourceCodePro-Bold.otf"); +html { + -ms-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + -webkit-text-size-adjust: 100%; + font-family: var(--font-family-sans-serif); + font-feature-settings: "ss01", "ss02", "cv01", "cv03"; + /* The root element font size has to be set in px, + * otherwise Safari breaks. */ + font-size: 16px; + font-weight: var(--font-weight-normal); + line-height: 1.5; +} + +p { + margin: 1rem 0; +} + +.txt-title { + font-size: var(--font-size-large); + font-weight: var(--font-weight-normal); + color: var(--color-secondary); + text-align: left; + text-overflow: ellipsis; + overflow-x: hidden; +} + +.txt-missing { + color: var(--color-foreground-faded); + font-style: italic; +} + +.txt-tiny { + font-size: var(--font-size-tiny); +} +.txt-small { + font-size: var(--font-size-small); +} +.txt-regular { + font-size: var(--font-size-regular); +} +.txt-medium { + font-size: var(--font-size-medium); +} +.txt-large { + font-size: var(--font-size-large); +} +.txt-huge { + font-size: var(--font-size-huge); +} + +.txt-monospace { + font-family: var(--font-family-monospace); +} +.txt-bold { + font-weight: var(--font-weight-bold) !important; } diff --git a/src/Address.svelte b/src/Address.svelte index 935df4c84..21953deac 100644 --- a/src/Address.svelte +++ b/src/Address.svelte @@ -22,7 +22,7 @@ export let noAvatar = false; export let compact = false; export let small = false; - export let xsmall = false; + export let tiny = false; export let highlight = false; // This property allows components eg. Header.svelte to pass a resolved profile object. export let profile: Profile | null = null; @@ -72,7 +72,7 @@ } .highlight { color: var(--color-foreground-90); - font-weight: bold; + font-weight: var(--font-weight-bold); } .wrapper { gap: 0.5rem; @@ -84,8 +84,8 @@
{#if !noAvatar} {#if resolve && profile?.avatar} diff --git a/src/App.svelte b/src/App.svelte index 1a11e692f..cfe01422a 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -59,6 +59,9 @@ flex-direction: column; height: 100%; } + .emoji { + margin: 1rem 0; + } @@ -104,7 +107,7 @@
-

👻

+
👻
Error connecting to network
diff --git a/src/Async.svelte b/src/Async.svelte index 7535bb44d..a5235ae2e 100644 --- a/src/Async.svelte +++ b/src/Async.svelte @@ -10,9 +10,9 @@ {:catch err}
-
+
- API request to {err.url} + API request to {err.url} failed.
diff --git a/src/Authorship.svelte b/src/Authorship.svelte index cb1b351dc..9f3e10c77 100644 --- a/src/Authorship.svelte +++ b/src/Authorship.svelte @@ -36,17 +36,17 @@ } .highlight { color: var(--color-foreground-90); - font-weight: bold; + font-weight: var(--font-weight-bold); } .date { color: var(--color-foreground-80); } - + {#if profile}
{/if}  {caption}  - + {formatTimestamp(timestamp)} diff --git a/src/Badge.svelte b/src/Badge.svelte index b178a37aa..03256be2f 100644 --- a/src/Badge.svelte +++ b/src/Badge.svelte @@ -12,7 +12,7 @@ .badge { border-radius: var(--border-radius); padding: 0.125rem 0.5rem; - font-size: 0.75rem; + font-size: var(--font-size-tiny); line-height: 1.6; height: var(--button-tiny-height); display: flex; diff --git a/src/Button.svelte b/src/Button.svelte index 97367f83f..1fd920c1e 100644 --- a/src/Button.svelte +++ b/src/Button.svelte @@ -21,7 +21,7 @@ cursor: pointer; font-family: var(--font-family-sans-serif); font-feature-settings: "ss01", "ss02", "cv01", "cv03"; - font-size: 1rem; + font-size: var(--font-size-regular); line-height: 1.6rem; display: inline-flex; justify-content: center; @@ -92,12 +92,12 @@ } .tiny { - font-size: 0.75rem; + font-size: var(--font-size-tiny); height: var(--button-small-tiny); padding: 0 0.6rem; } .small { - font-size: 0.875rem; + font-size: var(--font-size-small); height: var(--button-small-height); padding: 0 0.75rem; } diff --git a/src/Card.svelte b/src/Card.svelte index c2f09653c..62bd94b2d 100644 --- a/src/Card.svelte +++ b/src/Card.svelte @@ -55,7 +55,7 @@ overflow-x: hidden; } .card-members { - font-size: 0.875rem; + font-size: var(--font-size-small); color: var(--color-foreground-faded); } diff --git a/src/Comment.svelte b/src/Comment.svelte index 878b01213..67080c7eb 100644 --- a/src/Comment.svelte +++ b/src/Comment.svelte @@ -66,7 +66,7 @@ padding: 0.5rem 1rem; } .card-body { - font-size: 0.875rem; + font-size: var(--font-size-small); padding: 0rem 1rem 1rem 1rem; } .reactions { @@ -92,7 +92,7 @@
{#if comment.body === ""} - No description. + No description. {:else} {/if} diff --git a/src/Error.svelte b/src/Error.svelte index 09b26d1cc..928ee4c3e 100644 --- a/src/Error.svelte +++ b/src/Error.svelte @@ -33,7 +33,7 @@ - Error: + Error: {body} diff --git a/src/Form.svelte b/src/Form.svelte index c995f15da..f9030c414 100644 --- a/src/Form.svelte +++ b/src/Form.svelte @@ -244,12 +244,12 @@ {field.value} {/if} {:else} - ✗ Not set + ✗ Not set {/if} {/if} {#if field.error} -
+
{#if field.example} {field.error}, eg. {field.example} @@ -258,7 +258,7 @@ {/if}
{:else} -
+
{@html marked(field.description)}
{/if} diff --git a/src/Header.svelte b/src/Header.svelte index 8c4c4bf9e..a95735d18 100644 --- a/src/Header.svelte +++ b/src/Header.svelte @@ -56,7 +56,6 @@ display: inline-block; padding: 0.5rem 0.5rem; margin-right: 1.5rem; - font-weight: 500; cursor: pointer; user-select: none; color: var(--color-foreground-6); @@ -147,10 +146,10 @@ {#if $error.type === Failure.TransactionFailed}
{#if $error.message} - Error: + Error: {$error.message} {:else if $error.txHash} - Error: + Error: Transaction {$error.txHash} failed. @@ -194,7 +193,7 @@ {#if tokenBalance} {formatBalance(tokenBalance)} - RAD + RAD {:else} {/if} diff --git a/src/Input.svelte b/src/Input.svelte index 8813a2029..d19f7bd08 100644 --- a/src/Input.svelte +++ b/src/Input.svelte @@ -24,7 +24,7 @@ border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0; } input { - font-size: 0.75rem; + font-size: var(--font-size-tiny); font-family: var(--font-family-monospace); padding: 0.5rem; border: none; diff --git a/src/Markdown.svelte b/src/Markdown.svelte index 46ff80865..252759a2b 100644 --- a/src/Markdown.svelte +++ b/src/Markdown.svelte @@ -64,7 +64,7 @@
-
{icon}
+
{icon}
diff --git a/src/Profile.svelte b/src/Profile.svelte index 16a90059f..fe875afa1 100644 --- a/src/Profile.svelte +++ b/src/Profile.svelte @@ -201,13 +201,13 @@ title={profile.address} />
- - + + {profile.name ? utils.formatName(profile.name, config) : profile.address} - + {profile.name ? utils.formatName(profile.name, config) : utils.formatAddress(profile.address)} @@ -317,7 +317,7 @@ {#if profile.name} {profile.name} {:else} - Not set + Not set {/if}
@@ -350,7 +350,7 @@ {#if profile.name} {profile.name} {:else} - Not set + Not set {/if}
@@ -401,7 +401,7 @@ {/if} {:catch err} - Error: + Error: failed to load org members: {err.message}. {/await} @@ -441,7 +441,7 @@ {/if} {:catch err} - Error: + Error: failed to load orgs: {err.message}. {/await} diff --git a/src/RadicleUrn.svelte b/src/RadicleUrn.svelte index 67383a5ef..8cc5963ab 100644 --- a/src/RadicleUrn.svelte +++ b/src/RadicleUrn.svelte @@ -19,7 +19,7 @@ @@ -98,7 +98,7 @@ {:then results} {#if results.length}
- Explore projects + Explore projects on the Radicle network.
@@ -117,7 +117,7 @@ {:catch}
- Error: + Error: failed to load projects.
diff --git a/src/base/orgs/Create.svelte b/src/base/orgs/Create.svelte index 4959fba4d..07410b917 100644 --- a/src/base/orgs/Create.svelte +++ b/src/base/orgs/Create.svelte @@ -111,7 +111,7 @@ } label[for="address"] { margin-left: 1.5rem; - font-size: 0.75rem; + font-size: var(--font-size-tiny); color: var(--color-secondary); } input[name="address"] { @@ -119,7 +119,7 @@ width: 100%; } .notice { - font-size: 0.875rem; + font-size: var(--font-size-small); border-radius: var(--border-radius); color: var(--color-yellow); background-color: var(--color-yellow-background); @@ -136,7 +136,7 @@ 🎉 - Your org was successfully created. + Your org was successfully created. @@ -181,7 +181,7 @@ {#if state === State.Idle}
- Notice: + Notice: Orgs V1 are being deprecated. It is recommended not to create new orgs at this point.
diff --git a/src/base/orgs/Index.svelte b/src/base/orgs/Index.svelte index bb04962f4..fb40eba0e 100644 --- a/src/base/orgs/Index.svelte +++ b/src/base/orgs/Index.svelte @@ -34,7 +34,7 @@ } main header { color: var(--color-secondary); - font-size: 1.25rem; + font-size: var(--font-size-medium); display: flex; align-items: center; padding: 1rem 0; @@ -46,8 +46,6 @@ } .orgs-empty { padding: 2rem 0 1rem 0; - font-style: italic; - color: var(--color-foreground-faded); } .loading { @@ -64,7 +62,7 @@
- My Orgs + My Orgs
{:then orgs} -
Orgs you are a member of show up here.
+
+ Orgs you are a member of show up here. +
{:catch}
- Error: + Error: failed to load orgs.
@@ -92,7 +92,7 @@
- Orgs + Orgs of the Radicle network
@@ -108,7 +108,7 @@ {:catch}
- Error: + Error: failed to load orgs.
diff --git a/src/base/orgs/TransferOwnership.svelte b/src/base/orgs/TransferOwnership.svelte index 6cc5a3125..37d17113c 100644 --- a/src/base/orgs/TransferOwnership.svelte +++ b/src/base/orgs/TransferOwnership.svelte @@ -78,9 +78,11 @@
✅
- The ownership of {formatAddress(org.address)} + The ownership of + {formatAddress(org.address)} + was successfully transfered to - {newOwner} + {newOwner} .
@@ -96,11 +98,11 @@

- The transaction to set the owner of + The transaction to set the owner of {formatAddress(org.address)} - + to - {newOwner} + {newOwner} was proposed to:

@@ -126,12 +128,12 @@ Waiting for transaction to be processed... {:else if state === State.Proposing && org} Proposal is being submitted to the safe - {formatAddress(org.owner)} + {formatAddress(org.owner)} , please sign the transaction in your wallet. {:else if state === State.Idle} - Transfer the ownership of Org + Transfer the ownership of Org {formatAddress(org.address)} - + to a new address. {:else if state === State.Failed}
diff --git a/src/base/profiles/AnchorActions.svelte b/src/base/profiles/AnchorActions.svelte index 7dad20943..354a67506 100644 --- a/src/base/profiles/AnchorActions.svelte +++ b/src/base/profiles/AnchorActions.svelte @@ -114,7 +114,7 @@ {#if pending > 0} - {pending} + {pending} signature(s) pending {/if} @@ -177,9 +177,9 @@ {#if state === State.Confirm}
Project
- {anchor.id} + {anchor.id}
Hash
- {anchor.anchor.stateHash} + {anchor.anchor.stateHash}
{:else if state === State.Failed}
{error}
@@ -231,9 +231,13 @@ {#if state === State.Confirm}
TxHash
- {utils.formatHash(anchor.safeTxHash)} + + {utils.formatHash(anchor.safeTxHash)} +
Quorum
- {anchor.confirmations.length} of {safe.threshold} + + {anchor.confirmations.length} of {safe.threshold} +
{:else if state === State.Failed}
{error}
diff --git a/src/base/projects/Blob.svelte b/src/base/projects/Blob.svelte index 1eb5d7e37..798e52aa5 100644 --- a/src/base/projects/Blob.svelte +++ b/src/base/projects/Blob.svelte @@ -38,7 +38,7 @@ } header .file-name { - font-weight: normal; + font-weight: var(--font-weight-normal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -49,14 +49,14 @@ padding: 0.5rem; color: var(--color-secondary); background-color: var(--color-secondary-background); - font-size: 0.75rem; + font-size: var(--font-size-tiny); border-radius: var(--border-radius-small); overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; } .last-commit .hash { - font-weight: bold; + font-weight: var(--font-weight-bold); font-family: var(--font-family-monospace); margin-right: 0.25rem; } @@ -124,7 +124,7 @@ @media (max-width: 960px) { .code, .line-numbers { - font-size: 0.875rem; + font-size: var(--font-size-small); } .highlight { display: none; @@ -150,7 +150,7 @@ {#if blob.binary}
👀
- Binary content + Binary content
{:else} {#if line} diff --git a/src/base/projects/Browser.svelte b/src/base/projects/Browser.svelte index 359130b9f..1e4d0cef4 100644 --- a/src/base/projects/Browser.svelte +++ b/src/base/projects/Browser.svelte @@ -187,7 +187,7 @@ {#if path !== "/"} -
{path}
+
{path}
{/if}
diff --git a/src/base/projects/CloneButton.svelte b/src/base/projects/CloneButton.svelte index 0d14a7560..1a1f8a518 100644 --- a/src/base/projects/CloneButton.svelte +++ b/src/base/projects/CloneButton.svelte @@ -42,7 +42,7 @@ label { color: var(--color-foreground-faded); display: block; - font-size: 0.75rem; + font-size: var(--font-size-tiny); padding: 0.5rem 0.5rem 0 0.25rem; } diff --git a/src/base/projects/Commit.svelte b/src/base/projects/Commit.svelte index 99d84ed7d..74b151e93 100644 --- a/src/base/projects/Commit.svelte +++ b/src/base/projects/Commit.svelte @@ -40,7 +40,7 @@ } .sha1 { color: var(--color-foreground-80); - font-size: 0.875rem; + font-size: var(--font-size-small); } .authorship { display: flex; @@ -58,15 +58,15 @@
-
{commit.header.summary}
-
+
{commit.header.summary}
+
{commit.header.sha1}
-
+
{formatCommit(commit.header.sha1)}
-
{commit.header.description}
+
{commit.header.description}
{#if commit.context?.committer} diff --git a/src/base/projects/Commit/CommitAuthorship.svelte b/src/base/projects/Commit/CommitAuthorship.svelte index 3d84c1956..87f9b6365 100644 --- a/src/base/projects/Commit/CommitAuthorship.svelte +++ b/src/base/projects/Commit/CommitAuthorship.svelte @@ -36,14 +36,14 @@ } - + {#if commit.header.author.email === commit.header.committer.email} avatar {#if commit.context?.committer} - + {commit.context?.committer.peer.person.name}  committed @@ -67,7 +67,7 @@ alt="avatar" src={gravatarURL(commit.header.committer.email)} /> {#if commit.context?.committer} - + {commit.context?.committer.peer.person.name}  committed @@ -80,7 +80,7 @@ {/if} {#if showTime}   - + {formatTimestamp(commit.header.committerTime)} {/if} diff --git a/src/base/projects/Commit/CommitTeaser.svelte b/src/base/projects/Commit/CommitTeaser.svelte index e045ece37..2034d3f60 100644 --- a/src/base/projects/Commit/CommitTeaser.svelte +++ b/src/base/projects/Commit/CommitTeaser.svelte @@ -19,7 +19,7 @@ diff --git a/src/base/projects/Patch/PatchTabBar.svelte b/src/base/projects/Patch/PatchTabBar.svelte index 284dfc9f0..16cbe6bbb 100644 --- a/src/base/projects/Patch/PatchTabBar.svelte +++ b/src/base/projects/Patch/PatchTabBar.svelte @@ -57,7 +57,7 @@ border: none; color: var(--color-foreground-80); font-family: var(--font-family-monospace); - font-size: 0.75rem; + font-size: var(--font-size-tiny); height: var(--button-tiny-height); padding: 0.25rem 0.5rem; background-color: var(--color-background); @@ -72,7 +72,7 @@ } -
+
{ @@ -83,7 +83,7 @@ diff --git a/src/base/projects/Patch/PatchTeaser.svelte b/src/base/projects/Patch/PatchTeaser.svelte index c76324109..130a059e8 100644 --- a/src/base/projects/Patch/PatchTeaser.svelte +++ b/src/base/projects/Patch/PatchTeaser.svelte @@ -39,7 +39,7 @@ } .patch-id { color: var(--color-foreground-faded); - font-size: 0.75rem; + font-size: var(--font-size-tiny); font-family: var(--font-family-monospace); margin-left: 0.5rem; } @@ -56,7 +56,7 @@ } .comment-count { color: var(--color-foreground-70); - font-weight: bold; + font-weight: var(--font-weight-bold); } .comment-count .emoji { margin-right: 0.25rem; @@ -122,7 +122,7 @@ {#if commentCount > 0}
- 💬 + 💬 {commentCount}
diff --git a/src/base/projects/Patches.svelte b/src/base/projects/Patches.svelte index 72a7bd150..f22f7d431 100644 --- a/src/base/projects/Patches.svelte +++ b/src/base/projects/Patches.svelte @@ -41,7 +41,7 @@
-
+
- {project.urn} + {project.urn}
{#if !noDescription} diff --git a/src/base/projects/SourceBrowser/FileDiff.svelte b/src/base/projects/SourceBrowser/FileDiff.svelte index b859e2750..c08c69689 100644 --- a/src/base/projects/SourceBrowser/FileDiff.svelte +++ b/src/base/projects/SourceBrowser/FileDiff.svelte @@ -108,9 +108,6 @@ td.diff-line-number { color: var(--color-foreground-4); } - .file-path { - font-size: 1rem; - } .browse { display: flex; } @@ -119,7 +116,7 @@
-

{file.path}

+

{file.path}

{#if mode === "created"} created {:else if mode === "deleted"} diff --git a/src/base/projects/Widget.svelte b/src/base/projects/Widget.svelte index 200fa3b40..cd555e159 100644 --- a/src/base/projects/Widget.svelte +++ b/src/base/projects/Widget.svelte @@ -79,17 +79,17 @@ border-color: var(--color-foreground-faded); } article .id { - font-size: 1rem; - font-weight: 600; + font-size: var(--font-size-regular); + font-weight: var(--font-weight-medium); margin-bottom: 0.5rem; } article .description { margin-bottom: 0.25rem; - font-size: 0.75rem; + font-size: var(--font-size-tiny); } article .stateHash { color: var(--color-secondary); - font-size: 0.75rem; + font-size: var(--font-size-tiny); min-height: 2rem; display: flex; align-items: center; @@ -116,9 +116,9 @@ article .id .urn { visibility: hidden; color: var(--color-foreground-faded); - font-weight: normal; + font-weight: var(--font-weight-normal); font-family: var(--font-family-monospace); - font-size: 0.75rem; + font-size: var(--font-size-tiny); } article .anchor-badge { display: none; @@ -152,7 +152,7 @@ {project.head} {/if} {:else} - ✗ No head + ✗ No head {/if} diff --git a/src/base/registrations/Index.svelte b/src/base/registrations/Index.svelte index 37bd52ea8..f0d51f844 100644 --- a/src/base/registrations/Index.svelte +++ b/src/base/registrations/Index.svelte @@ -35,7 +35,7 @@ @@ -249,7 +252,7 @@

- The name {domain} + The name {domain} is not registered.

@@ -261,7 +264,7 @@ {:else if state.status === Status.Found}
-

{domain}

+
{domain}
{#if !editable}