mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-21 07:45:38 +00:00
feat(website): use Plus Jakarta Sans for display titles
This commit is contained in:
Generated
+10
@@ -6651,6 +6651,15 @@
|
||||
"url": "https://github.com/sponsors/ayuhito"
|
||||
}
|
||||
},
|
||||
"node_modules/@fontsource-variable/plus-jakarta-sans": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@fontsource-variable/plus-jakarta-sans/-/plus-jakarta-sans-5.3.0.tgz",
|
||||
"integrity": "sha512-/l/4r0yyWK9JzAlmA0LiYgGgmJe/Gswt4jTJEzr5QhJfwMbvJZDmYWyW0M4X7yCK69BajMVlV/Lx8g7WDc1+sw==",
|
||||
"license": "OFL-1.1",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ayuhito"
|
||||
}
|
||||
},
|
||||
"node_modules/@getpaseo/app": {
|
||||
"resolved": "packages/app",
|
||||
"link": true
|
||||
@@ -41479,6 +41488,7 @@
|
||||
"@cloudflare/vite-plugin": "^1.29.1",
|
||||
"@cloudflare/workers-types": "^4.20260317.1",
|
||||
"@fontsource-variable/geist": "^5.3.0",
|
||||
"@fontsource-variable/plus-jakarta-sans": "^5.3.0",
|
||||
"@getpaseo/protocol": "*",
|
||||
"@tanstack/react-router": "^1.170.16",
|
||||
"@tanstack/react-start": "^1.168.26",
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
"@cloudflare/vite-plugin": "^1.29.1",
|
||||
"@cloudflare/workers-types": "^4.20260317.1",
|
||||
"@fontsource-variable/geist": "^5.3.0",
|
||||
"@fontsource-variable/plus-jakarta-sans": "^5.3.0",
|
||||
"@getpaseo/protocol": "*",
|
||||
"@tanstack/react-router": "^1.170.16",
|
||||
"@tanstack/react-start": "^1.168.26",
|
||||
|
||||
@@ -213,7 +213,7 @@ function Hero({
|
||||
return (
|
||||
<div className="space-y-6 text-center">
|
||||
{showHubEyebrow ? <HubHeroEyebrow /> : null}
|
||||
<h1 className="text-4xl font-medium tracking-[-0.03em] leading-[0.98] md:text-6xl">
|
||||
<h1 className="font-display text-4xl font-semibold tracking-[-0.025em] leading-[1.02] md:text-6xl">
|
||||
{title}
|
||||
</h1>
|
||||
<p className="mx-auto max-w-lg text-base leading-relaxed text-white/70 md:text-lg">
|
||||
|
||||
@@ -140,7 +140,7 @@ export function SectionOpener({
|
||||
<div className={`flex flex-wrap items-center gap-3 ${centered ? "justify-center" : ""}`}>
|
||||
<h2
|
||||
id={headingId}
|
||||
className="text-3xl font-medium tracking-[-0.03em] leading-[1.08] text-foreground sm:text-4xl md:text-[42px]"
|
||||
className="font-display text-3xl font-semibold tracking-[-0.025em] leading-[1.1] text-foreground sm:text-4xl md:text-[42px]"
|
||||
>
|
||||
{mutedLead ? (
|
||||
<>
|
||||
|
||||
@@ -30,7 +30,7 @@ function SectionHeading({
|
||||
return (
|
||||
<div className="mb-10 space-y-2.5">
|
||||
<div className="flex items-center gap-3">
|
||||
<Heading className="text-3xl font-medium tracking-[-0.03em] md:text-[42px]">
|
||||
<Heading className="font-display text-3xl font-semibold tracking-[-0.025em] md:text-[42px]">
|
||||
{title}
|
||||
</Heading>
|
||||
{badge ? (
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@import "tailwindcss";
|
||||
@import "@fontsource-variable/geist";
|
||||
@import "@fontsource-variable/plus-jakarta-sans";
|
||||
|
||||
* {
|
||||
scrollbar-color: var(--color-scrollbar-handle) transparent;
|
||||
@@ -107,7 +108,7 @@
|
||||
|
||||
/* Title font - centralized for easy changes */
|
||||
.font-title {
|
||||
font-family: inherit;
|
||||
font-family: var(--font-display);
|
||||
}
|
||||
|
||||
/* Inline code styling - scoped to prose content */
|
||||
@@ -712,6 +713,8 @@
|
||||
|
||||
@theme {
|
||||
--font-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
|
||||
--font-display:
|
||||
"Plus Jakarta Sans Variable", "Geist Variable", ui-sans-serif, system-ui, sans-serif;
|
||||
|
||||
--color-background: #101615;
|
||||
--color-foreground: #fafafa;
|
||||
|
||||
Reference in New Issue
Block a user