Open source CapCut alternative.
TypeScript
Adjust site typography weights
David Le3061ede3de44
diff --git a/site/src/app/_components/landing/Agents.tsx b/site/src/app/_components/landing/Agents.tsxindex 1e9bd726..aa770849 100644--- a/site/src/app/_components/landing/Agents.tsx+++ b/site/src/app/_components/landing/Agents.tsx@@ -44,7 +44,7 @@ export function Agents() {<div style={tagPill}>AI agents - The main act</div><h3style={{- fontWeight: 900,+ fontWeight: 600,fontSize: isDesktop ? 42 : 32,lineHeight: 1.05,margin: "0 0 32px",@@ -83,7 +83,7 @@ export function Agents() {<divstyle={{fontSize: 11,- fontWeight: 800,+ fontWeight: 600,letterSpacing: "0.1em",textTransform: "uppercase",color: "#666",@@ -94,7 +94,7 @@ export function Agents() {</div><h4style={{- fontWeight: 900,+ fontWeight: 600,fontSize: 22,lineHeight: 1.15,margin: "0 0 12px",diff --git a/site/src/app/_components/landing/AuthScreen.tsx b/site/src/app/_components/landing/AuthScreen.tsxindex 92325361..8ce7ee02 100644--- a/site/src/app/_components/landing/AuthScreen.tsx+++ b/site/src/app/_components/landing/AuthScreen.tsx@@ -108,7 +108,7 @@ export function AuthScreen({ mode }: Props) {<h1style={{fontSize: isDesktop ? 92 : 52,- fontWeight: 900,+ fontWeight: 600,letterSpacing: 0,lineHeight: 0.9,margin: 0,@@ -152,7 +152,7 @@ export function AuthScreen({ mode }: Props) {<h2style={{fontSize: isDesktop ? 42 : 34,- fontWeight: 900,+ fontWeight: 600,lineHeight: 1,margin: "0 0 14px",}}@@ -199,14 +199,14 @@ export function AuthScreen({ mode }: Props) {By continuing, you agree to the{" "}<ahref="/terms"- style={{ color: BLACK, fontWeight: 800 }}+ style={{ color: BLACK, fontWeight: 600 }}>Terms of Use</a>{" "}and{" "}<ahref="/privacy"- style={{ color: BLACK, fontWeight: 800 }}+ style={{ color: BLACK, fontWeight: 600 }}>Privacy Policy</a>@@ -218,7 +218,7 @@ export function AuthScreen({ mode }: Props) {style={{color: "#4a403d",fontSize: 13,- fontWeight: 700,+ fontWeight: 600,lineHeight: 1.4,marginTop: 14,}}diff --git a/site/src/app/_components/landing/BillingPortalButton.tsx b/site/src/app/_components/landing/BillingPortalButton.tsxindex 8071aeca..8d3e18b8 100644--- a/site/src/app/_components/landing/BillingPortalButton.tsx+++ b/site/src/app/_components/landing/BillingPortalButton.tsx@@ -54,7 +54,7 @@ export function BillingPortalButton() {style={{color: "rgba(255,255,255,0.7)",fontSize: 13,- fontWeight: 700,+ fontWeight: 600,lineHeight: 1.4,marginTop: 12,}}diff --git a/site/src/app/_components/landing/FinalCTA.tsx b/site/src/app/_components/landing/FinalCTA.tsxindex ec35123a..b7178d30 100644--- a/site/src/app/_components/landing/FinalCTA.tsx+++ b/site/src/app/_components/landing/FinalCTA.tsx@@ -58,7 +58,7 @@ export function FinalCTA() {<divstyle={{fontSize: 12,- fontWeight: 800,+ fontWeight: 600,letterSpacing: "0.12em",textTransform: "uppercase",color: "rgba(255,255,255,0.6)",@@ -69,7 +69,7 @@ export function FinalCTA() {</div><h2style={{- fontWeight: 900,+ fontWeight: 600,fontSize: "clamp(40px, 7vw, 80px)",lineHeight: 0.95,margin: "0 0 16px",diff --git a/site/src/app/_components/landing/Footer.tsx b/site/src/app/_components/landing/Footer.tsxindex 4062daf6..1d2f037a 100644--- a/site/src/app/_components/landing/Footer.tsx+++ b/site/src/app/_components/landing/Footer.tsx@@ -38,7 +38,7 @@ export function Footer() {flexWrap: "wrap",}}>- <span style={{ fontWeight: 900, fontSize: isDesktop ? 48 : 40 }}>+ <span style={{ fontWeight: 600, fontSize: isDesktop ? 48 : 40 }}>donkey</span>{socialLinks.map((link) => {@@ -79,7 +79,7 @@ export function Footer() {}}><div>- <div style={{ fontWeight: 800, color: BLACK, marginBottom: 4 }}>+ <div style={{ fontWeight: 600, color: BLACK, marginBottom: 4 }}></div><div>2026 Donkey, Inc. Made for Macs.</div>@@ -95,7 +95,7 @@ export function Footer() {href="/privacy"style={{color: BLACK,- fontWeight: 800,+ fontWeight: 600,textDecoration: "none",}}>@@ -105,7 +105,7 @@ export function Footer() {href="/terms"style={{color: BLACK,- fontWeight: 800,+ fontWeight: 600,textDecoration: "none",}}>diff --git a/site/src/app/_components/landing/Hero.tsx b/site/src/app/_components/landing/Hero.tsxindex d0c864b9..0dff5b06 100644--- a/site/src/app/_components/landing/Hero.tsx+++ b/site/src/app/_components/landing/Hero.tsx@@ -20,7 +20,7 @@ export function Hero() {><h1style={{- fontWeight: 900,+ fontWeight: 600,letterSpacing: "-0.03em",lineHeight: 0.88,fontSize: "clamp(56px, 12vw, 168px)",diff --git a/site/src/app/_components/landing/HowItWorks.tsx b/site/src/app/_components/landing/HowItWorks.tsxindex a1941b36..ac38d228 100644--- a/site/src/app/_components/landing/HowItWorks.tsx+++ b/site/src/app/_components/landing/HowItWorks.tsx@@ -56,7 +56,7 @@ export function HowItWorks() {<div style={{ flex: 1 }}><h3style={{- fontWeight: 900,+ fontWeight: 600,fontSize: 26,lineHeight: 1.15,margin: "0 0 8px",@@ -82,7 +82,7 @@ export function HowItWorks() {border: `2px solid ${BLACK}`,padding: "4px 14px",fontSize: 11,- fontWeight: 800,+ fontWeight: 600,letterSpacing: "0.08em",textTransform: "uppercase",background: "rgba(255,255,255,0.5)",diff --git a/site/src/app/_components/landing/LandingPrimitives.tsx b/site/src/app/_components/landing/LandingPrimitives.tsxindex 2a3838ad..272c4df8 100644--- a/site/src/app/_components/landing/LandingPrimitives.tsx+++ b/site/src/app/_components/landing/LandingPrimitives.tsx@@ -125,7 +125,7 @@ export function PillButton({justifyContent: "center",gap: 8,borderRadius: 999,- fontWeight: 700,+ fontWeight: 600,cursor: disabled ? "not-allowed" : "pointer",minHeight: size === "lg" ? 56 : 40,opacity: disabled ? 0.65 : 1,@@ -171,7 +171,7 @@ export function SectionLabel({ children, number }: SectionLabelProps) {alignItems: "center",gap: 8,fontSize: 13,- fontWeight: 800,+ fontWeight: 600,letterSpacing: "0.12em",textTransform: "uppercase",marginBottom: 24,@@ -200,7 +200,7 @@ export function NumberBadge({ color, n }: NumberBadgeProps) {display: "flex",alignItems: "center",justifyContent: "center",- fontWeight: 900,+ fontWeight: 600,fontSize: 22,flexShrink: 0,}}@@ -224,7 +224,7 @@ export function Headline({ children, size = "xl" }: HeadlineProps) {return (<h2style={{- fontWeight: 900,+ fontWeight: 600,lineHeight: 0.95,fontSize: sizes[size],margin: 0,diff --git a/site/src/app/_components/landing/OpenSource.tsx b/site/src/app/_components/landing/OpenSource.tsxindex adb19cec..9ad431b2 100644--- a/site/src/app/_components/landing/OpenSource.tsx+++ b/site/src/app/_components/landing/OpenSource.tsx@@ -152,7 +152,7 @@ export function OpenSource() {alignItems: "center",justifyContent: "center",fontSize: 12,- fontWeight: 900,+ fontWeight: 600,}}>{reason.icon}@@ -160,7 +160,7 @@ export function OpenSource() {<div style={{ flex: 1 }}><h3style={{- fontWeight: 900,+ fontWeight: 600,fontSize: 22,lineHeight: 1.15,margin: "0 0 8px",diff --git a/site/src/app/_components/landing/PricingPage.tsx b/site/src/app/_components/landing/PricingPage.tsxindex 604732ea..aa472f40 100644--- a/site/src/app/_components/landing/PricingPage.tsx+++ b/site/src/app/_components/landing/PricingPage.tsx@@ -45,7 +45,7 @@ export function PricingPage() {<h1style={{fontSize: isDesktop ? 112 : 52,- fontWeight: 900,+ fontWeight: 600,letterSpacing: 0,lineHeight: 0.9,margin: 0,@@ -132,7 +132,7 @@ export function PricingPage() {style={{color: "rgba(255,255,255,0.55)",fontSize: 12,- fontWeight: 800,+ fontWeight: 600,letterSpacing: "0.12em",marginBottom: 18,textTransform: "uppercase",diff --git a/site/src/app/_components/landing/PricingPlanCard.tsx b/site/src/app/_components/landing/PricingPlanCard.tsxindex 021cd63d..21ba65a9 100644--- a/site/src/app/_components/landing/PricingPlanCard.tsx+++ b/site/src/app/_components/landing/PricingPlanCard.tsx@@ -80,13 +80,13 @@ export function PricingPlanCard({ plan }: Props) {tapePosition={plan.tapePosition}><div style={{ padding: isDesktop ? 36 : 28 }}>- <div style={{ fontWeight: 900, fontSize: 22, marginBottom: 18 }}>+ <div style={{ fontWeight: 600, fontSize: 22, marginBottom: 18 }}>{plan.name}</div><div style={{ display: "flex", alignItems: "baseline", gap: 8 }}><spanstyle={{- fontWeight: 900,+ fontWeight: 600,fontSize: isDesktop ? 54 : 42,lineHeight: 0.95,}}@@ -97,7 +97,7 @@ export function PricingPlanCard({ plan }: Props) {<divstyle={{fontSize: 13,- fontWeight: 800,+ fontWeight: 600,color: plan.color === "coral" ? "#201715" : "#444",marginBottom: 24,marginTop: 10,@@ -130,7 +130,7 @@ export function PricingPlanCard({ plan }: Props) {display: "flex",gap: 10,fontSize: 14,- fontWeight: 750,+ fontWeight: 600,}}><span@@ -158,7 +158,7 @@ export function PricingPlanCard({ plan }: Props) {style={{color: "#4a403d",fontSize: 13,- fontWeight: 700,+ fontWeight: 600,lineHeight: 1.4,marginTop: 14,}}diff --git a/site/src/app/_components/landing/Solutions.tsx b/site/src/app/_components/landing/Solutions.tsxindex 508ffc5e..9689b2bf 100644--- a/site/src/app/_components/landing/Solutions.tsx+++ b/site/src/app/_components/landing/Solutions.tsx@@ -46,7 +46,7 @@ export function Solutions() {<div style={tagPill}>{card.tag}</div><h3style={{- fontWeight: 900,+ fontWeight: 600,fontSize: isDesktop ? 32 : 28,lineHeight: 1.05,margin: "0 0 16px",diff --git a/site/src/app/_components/landing/TopNav.tsx b/site/src/app/_components/landing/TopNav.tsxindex 72916ec1..c5df50de 100644--- a/site/src/app/_components/landing/TopNav.tsx+++ b/site/src/app/_components/landing/TopNav.tsx@@ -8,6 +8,8 @@ import { DONKEY_DOWNLOAD_URL } from "@/app/_components/landing/data";import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";import { BLACK } from "@/app/_components/landing/theme";+const NAV_ICON_SIZE = 59;+type Props = {ctaHref?: string;ctaLabel?: string;@@ -46,9 +48,9 @@ export function TopNav({><divstyle={{- width: 47,- height: 47,- borderRadius: 8,+ width: NAV_ICON_SIZE,+ height: NAV_ICON_SIZE,+ borderRadius: 10,display: "flex",alignItems: "center",justifyContent: "center",@@ -58,9 +60,9 @@ export function TopNav({<Imagesrc="/donkey-site-mark.webp"alt=""- width={47}- height={47}- sizes="47px"+ width={NAV_ICON_SIZE}+ height={NAV_ICON_SIZE}+ sizes={`${NAV_ICON_SIZE}px`}style={{display: "block",width: "100%",@@ -69,7 +71,7 @@ export function TopNav({}}/></div>- <span style={{ fontWeight: 900, fontSize: 24 }}>donkey</span>+ <span style={{ fontWeight: 600, fontSize: 24 }}>donkey</span></a><PillButton href={ctaHref} variant="dark" size="sm">{ctaLabel} <ArrowRight size={14} />diff --git a/site/src/app/_components/landing/TrustedBy.tsx b/site/src/app/_components/landing/TrustedBy.tsxindex 0f79da52..d513f64c 100644--- a/site/src/app/_components/landing/TrustedBy.tsx+++ b/site/src/app/_components/landing/TrustedBy.tsx@@ -43,7 +43,7 @@ export function TrustedBy() {<spanstyle={{fontSize: 12,- fontWeight: 800,+ fontWeight: 600,letterSpacing: "0.12em",textTransform: "uppercase",whiteSpace: "nowrap",@@ -55,7 +55,7 @@ export function TrustedBy() {>Open source</span>- <span style={{ fontSize: isDesktop ? 16 : 15, fontWeight: 700 }}>+ <span style={{ fontSize: isDesktop ? 16 : 15, fontWeight: 600 }}>Donkey is built in the open.</span></div>@@ -65,7 +65,7 @@ export function TrustedBy() {alignItems: "center",gap: 6,fontSize: 14,- fontWeight: 800,+ fontWeight: 600,}}>View on GitHub <ArrowRight size={14} />diff --git a/site/src/app/_components/landing/VsThePast.tsx b/site/src/app/_components/landing/VsThePast.tsxindex cd450b7b..fece2053 100644--- a/site/src/app/_components/landing/VsThePast.tsx+++ b/site/src/app/_components/landing/VsThePast.tsx@@ -109,7 +109,7 @@ export function VsThePast() {}}><div style={{ padding: isDesktop ? "24px" : "16px 12px" }}>- <div style={{ fontWeight: 900, fontSize: isDesktop ? 20 : 15 }}>+ <div style={{ fontWeight: 600, fontSize: isDesktop ? 20 : 15 }}>What you need</div></div>@@ -125,7 +125,7 @@ export function VsThePast() {><divstyle={{- fontWeight: 900,+ fontWeight: 600,fontSize: comparisonHeaderFontSize,lineHeight: 1.1,}}@@ -147,7 +147,7 @@ export function VsThePast() {<divstyle={{padding: isDesktop ? "20px 24px" : "14px 12px",- fontWeight: 800,+ fontWeight: 600,fontSize: isDesktop ? 15 : 13,}}>diff --git a/site/src/app/_components/landing/theme.ts b/site/src/app/_components/landing/theme.tsindex aef58990..ef6247e1 100644--- a/site/src/app/_components/landing/theme.ts+++ b/site/src/app/_components/landing/theme.ts@@ -21,7 +21,7 @@ export const tagPill: CSSProperties = {background: BLACK,color: "#fff",fontSize: 11,- fontWeight: 800,+ fontWeight: 600,letterSpacing: "0.08em",padding: "6px 12px",borderRadius: 6,diff --git a/site/src/app/globals.css b/site/src/app/globals.cssindex a72e6a04..76ba211c 100644--- a/site/src/app/globals.css+++ b/site/src/app/globals.css@@ -126,6 +126,16 @@body {@apply bg-background text-foreground;}+ h1,+ h2,+ h3,+ h4,+ h5,+ h6,+ b,+ strong {+ font-weight: 600;+ }html {@apply bg-background font-sans;}diff --git a/site/src/app/install/_components/InstallInstructions.tsx b/site/src/app/install/_components/InstallInstructions.tsxindex 5ece695c..29d21790 100644--- a/site/src/app/install/_components/InstallInstructions.tsx+++ b/site/src/app/install/_components/InstallInstructions.tsx@@ -93,7 +93,7 @@ export function InstallInstructions() {style={{color: "#fff",fontSize: "clamp(28px, 3vw, 38px)",- fontWeight: 800,+ fontWeight: 600,letterSpacing: 0,lineHeight: 1.08,margin: 0,@@ -163,7 +163,7 @@ function InstallStepCard({ step }: InstallStepCardProps) {style={{color: "#96928c",fontSize: 15,- fontWeight: 700,+ fontWeight: 600,lineHeight: 1.2,marginBottom: 18,}}@@ -174,7 +174,7 @@ function InstallStepCard({ step }: InstallStepCardProps) {style={{color: "#fff",fontSize: "clamp(28px, 3vw, 36px)",- fontWeight: 800,+ fontWeight: 600,lineHeight: 1,margin: "0 0 17px",}}diff --git a/site/src/app/legal/LegalPageShell.tsx b/site/src/app/legal/LegalPageShell.tsxindex c567ac16..ac392d01 100644--- a/site/src/app/legal/LegalPageShell.tsx+++ b/site/src/app/legal/LegalPageShell.tsx@@ -12,7 +12,7 @@ export function LegalPageShell({ children }: Props) {<main className="min-h-screen bg-[#F5EFE0] text-[#0F0E0D] antialiased [font-family:-apple-system,BlinkMacSystemFont,'Segoe_UI',sans-serif]"><TopNav ctaHref="/install" ctaLabel="Download" /><section className="mx-auto box-border w-full max-w-5xl px-6 py-12 md:px-10 md:py-20">- <article className="prose prose-neutral max-w-none prose-headings:font-black prose-headings:tracking-normal prose-h1:text-5xl prose-h1:leading-none prose-h2:mt-12 prose-h2:border-t prose-h2:border-black/15 prose-h2:pt-8 prose-a:font-bold prose-a:text-black prose-strong:text-black md:prose-h1:text-7xl">+ <article className="prose prose-neutral max-w-none prose-headings:font-semibold prose-headings:tracking-normal prose-h1:text-5xl prose-h1:leading-none prose-h2:mt-12 prose-h2:border-t prose-h2:border-black/15 prose-h2:pt-8 prose-a:font-semibold prose-a:text-black prose-strong:text-black md:prose-h1:text-7xl">{children}</article></section>diff --git a/site/src/app/mac-auth/MacAuthRedirector.tsx b/site/src/app/mac-auth/MacAuthRedirector.tsxindex 6166dd06..026c88d3 100644--- a/site/src/app/mac-auth/MacAuthRedirector.tsx+++ b/site/src/app/mac-auth/MacAuthRedirector.tsx@@ -62,7 +62,7 @@ export function MacAuthRedirector({ state }: Props) {width={72}/>- <h1 className="mt-[22px] text-[42px] leading-[1.05] font-extrabold tracking-normal">+ <h1 className="mt-[22px] text-[42px] leading-[1.05] font-semibold tracking-normal">{headingForStatus(status)}</h1>@@ -72,7 +72,7 @@ export function MacAuthRedirector({ state }: Props) {{status === "failed" ? (<button- className="mt-[14px] inline-flex h-12 cursor-pointer items-center justify-center gap-2.5 rounded-xl border-0 bg-[#f7f4ee] px-[22px] text-base font-extrabold text-[#222]"+ className="mt-[14px] inline-flex h-12 cursor-pointer items-center justify-center gap-2.5 rounded-xl border-0 bg-[#f7f4ee] px-[22px] text-base font-semibold text-[#222]"onClick={retry}type="button">diff --git a/site/src/app/mac-auth/callback/route.ts b/site/src/app/mac-auth/callback/route.tsindex 4aa6c6c9..186d6d7f 100644--- a/site/src/app/mac-auth/callback/route.ts+++ b/site/src/app/mac-auth/callback/route.ts@@ -116,7 +116,7 @@ function macHandoffPage(h1 {font-size: clamp(36px, 7vw, 48px);- font-weight: 800;+ font-weight: 600;letter-spacing: 0;line-height: 1.04;margin: 18px 0 0;@@ -137,7 +137,7 @@ function macHandoffPage(color: #f7f4ee;display: inline-flex;font-size: 15px;- font-weight: 750;+ font-weight: 600;height: 44px;justify-content: center;margin-top: 12px;