refactor(ui): swap Inter/Poppins for self-hosted Bricolage Grotesque + Instrument Sans
Pulled from the ui-styling skill's canvas-fonts pack (both OFL-licensed, license files kept alongside in src/fonts/) instead of next/font/google, per explicit choice to use the skill's bundled assets rather than a Google Fonts pairing. - Display (headings): Bricolage Grotesque (Regular + Bold) - warmer, more distinctive than Poppins while keeping the same bold/rounded energy for the "adorable" branding. - Body: Instrument Sans (Regular/Italic/Bold/BoldItalic) - clean at form-field sizes. - CSS variables renamed --font-inter/--font-poppins -> --font-sans/ --font-display (decoupled from the specific font choice); updated in tailwind.config.ts and layout.tsx. Removed the redundant static fallback declarations in globals.css - next/font's `variable` option already injects these via the <html> className. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -12,8 +12,8 @@ const config: Config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ['var(--font-inter)', 'system-ui', 'sans-serif'],
|
||||
display: ['var(--font-poppins)', 'system-ui', 'sans-serif'],
|
||||
sans: ['var(--font-sans)', 'system-ui', 'sans-serif'],
|
||||
display: ['var(--font-display)', 'system-ui', 'sans-serif'],
|
||||
},
|
||||
colors: {
|
||||
border: 'hsl(var(--border))',
|
||||
|
||||
Reference in New Issue
Block a user