chore(website): remove Playfair font and add font-title utility class

This commit is contained in:
Mohamed Boudra
2026-02-05 14:29:08 +07:00
parent ea5c94a514
commit 665f67143f
6 changed files with 9 additions and 12 deletions
-6
View File
@@ -17,12 +17,6 @@ export const Route = createRootRoute({
{ rel: 'icon', href: '/favicon.ico', sizes: '48x48' }, { rel: 'icon', href: '/favicon.ico', sizes: '48x48' },
{ rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }, { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' },
{ rel: 'apple-touch-icon', href: '/favicon.svg' }, { rel: 'apple-touch-icon', href: '/favicon.svg' },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossOrigin: 'anonymous' },
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap',
},
], ],
}), }),
component: RootComponent, component: RootComponent,
@@ -17,7 +17,7 @@ function BestPractices() {
return ( return (
<div className="space-y-8"> <div className="space-y-8">
<div> <div>
<h1 className="text-3xl font-medium font-serif mb-4">Best Practices</h1> <h1 className="text-3xl font-medium font-title mb-4">Best Practices</h1>
<p className="text-white/60 leading-relaxed"> <p className="text-white/60 leading-relaxed">
What I've learned from using Paseo daily. Not rules, just patterns What I've learned from using Paseo daily. Not rules, just patterns
that have worked for me. that have worked for me.
@@ -17,7 +17,7 @@ function Configuration() {
return ( return (
<div className="space-y-8"> <div className="space-y-8">
<div> <div>
<h1 className="text-3xl font-medium font-serif mb-4">Configuration</h1> <h1 className="text-3xl font-medium font-title mb-4">Configuration</h1>
<p className="text-white/60 leading-relaxed"> <p className="text-white/60 leading-relaxed">
Paseo loads configuration from a single JSON file in your Paseo home directory, with optional Paseo loads configuration from a single JSON file in your Paseo home directory, with optional
environment variable and CLI overrides. environment variable and CLI overrides.
+1 -1
View File
@@ -17,7 +17,7 @@ function GettingStarted() {
return ( return (
<div className="space-y-8"> <div className="space-y-8">
<div> <div>
<h1 className="text-3xl font-medium font-serif mb-4">Getting Started</h1> <h1 className="text-3xl font-medium font-title mb-4">Getting Started</h1>
<p className="text-white/60 leading-relaxed"> <p className="text-white/60 leading-relaxed">
Paseo connects to your local development environment and lets you manage your coding agents from anywhere. Paseo connects to your local development environment and lets you manage your coding agents from anywhere.
</p> </p>
@@ -26,7 +26,7 @@ function Security() {
return ( return (
<div className="space-y-10"> <div className="space-y-10">
<div> <div>
<h1 className="text-3xl font-medium font-serif mb-4">Security</h1> <h1 className="text-3xl font-medium font-title mb-4">Security</h1>
<p className="text-white/60 leading-relaxed"> <p className="text-white/60 leading-relaxed">
Paseo follows a client-server architecture, similar to Docker. The daemon runs on your Paseo follows a client-server architecture, similar to Docker. The daemon runs on your
machine and manages your coding agents. Clients (the mobile app, CLI, or web interface) machine and manages your coding agents. Clients (the mobile app, CLI, or web interface)
+5 -2
View File
@@ -1,5 +1,10 @@
@import 'tailwindcss'; @import 'tailwindcss';
/* Title font - centralized for easy changes */
.font-title {
font-family: inherit;
}
/* Inline code styling - applies to code elements not inside pre blocks */ /* Inline code styling - applies to code elements not inside pre blocks */
:not(pre) > code { :not(pre) > code {
background-color: var(--color-muted); background-color: var(--color-muted);
@@ -9,8 +14,6 @@
} }
@theme { @theme {
--font-serif: 'Playfair Display', serif;
--color-background: #0a0a0a; --color-background: #0a0a0a;
--color-foreground: #fafafa; --color-foreground: #fafafa;
--color-muted: #262626; --color-muted: #262626;