@@ -28,11 +28,46 @@ const GlobalStyles = createGlobalStyle<{ theme: DefaultTheme; }>`
2828 }
2929 }
3030
31- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
31+ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
32+ @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
33+ @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');
34+ @import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&display=swap');
3235 /* Theme CSS variables */
3336 :root {
3437 /* Theme variables are now set dynamically in ThemeProvider */
38+ /* Font weights */
39+ --font-weight-light: 300;
40+ --font-weight-regular: 400;
41+ --font-weight-medium: 500;
42+ --font-weight-semibold: 600;
43+ --font-weight-bold: 700;
44+ --font-weight-extrabold: 800;
45+ /* Font families */
46+ --font-primary: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
47+ --font-heading: 'Space Grotesk', system-ui, sans-serif;
48+ --font-mono: 'IBM Plex Mono', 'Fira Code', monospace;
49+ --font-display: 'Syne', system-ui, sans-serif;
50+ /* Font sizes */
51+ --font-size-xs: clamp(0.75rem, 1.5vw, 0.875rem);
52+ --font-size-sm: clamp(0.875rem, 1.75vw, 1rem);
53+ --font-size-md: clamp(1rem, 2vw, 1.125rem);
54+ --font-size-lg: clamp(1.25rem, 2.5vw, 1.75rem);
55+ --font-size-xl: clamp(1.75rem, 3.5vw, 2.5rem);
56+ --font-size-2xl: clamp(2.5rem, 5vw, 3.5rem);
57+ /* Line heights */
58+ --line-height-tight: 1.15;
59+ --line-height-normal: 1.65;
60+ --line-height-relaxed: 1.85;
61+ /* Letter spacing */
62+ --letter-spacing-tight: -0.04em;
63+ --letter-spacing-normal: -0.02em;
64+ --letter-spacing-wide: 0.04em;
65+ --letter-spacing-wider: 0.08em;
3566 }
67+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
68+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Raleway:wght@600;700;800&display=swap');
69+ @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');
70+ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap');
3671
3772 /* Override Prism.js theme colors to match current theme */
3873 .token.comment,
@@ -117,15 +152,44 @@ const GlobalStyles = createGlobalStyle<{ theme: DefaultTheme; }>`
117152 }
118153
119154 body {
120- font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
155+ font-family: var(--font-primary);
156+ font-weight: var(--font-weight-regular);
121157 background-color: var(--theme-background);
122158 color: var(--theme-text);
123- line-height: 1.5 ;
124- font-size: var(--theme- font-size-md);
125- letter-spacing: -0.011em ;
159+ line-height: var(--line-height-normal) ;
160+ font-size: var(--font-size-md);
161+ letter-spacing: var(--letter-spacing-normal) ;
126162 text-rendering: optimizeLegibility;
127163 overflow-x: hidden;
128164 min-height: 100vh;
165+ font-feature-settings: "liga" 1, "kern" 1;
166+ }
167+ /* Heading styles */
168+ h1, h2, h3, h4, h5, h6 {
169+ font-family: var(--font-display);
170+ font-weight: var(--font-weight-extrabold);
171+ letter-spacing: var(--letter-spacing-tight);
172+ line-height: var(--line-height-tight);
173+ margin-bottom: 0.5em;
174+ text-transform: uppercase;
175+ background: linear-gradient(135deg, ${ ( { theme} ) => theme . colors . primary } , ${ ( { theme} ) => theme . colors . secondary } );
176+ -webkit-background-clip: text;
177+ -webkit-text-fill-color: transparent;
178+ text-shadow: 0 2px 4px rgba(0,0,0,0.1);
179+ position: relative;
180+ z-index: 1;
181+ }
182+ /* Code styles */
183+ code, pre {
184+ font-family: var(--font-mono);
185+ font-weight: 600;
186+ font-feature-settings: "liga" 0;
187+ font-size: 0.9em;
188+ line-height: var(--line-height-relaxed);
189+ letter-spacing: -0.01em;
190+ font-variant-ligatures: contextual;
191+ border-radius: 6px;
192+ padding: 0.2em 0.4em;
129193 }
130194
131195 border-radius:
0 commit comments