feat: tipografía Open Sans (reemplaza Inter)
Aptos descartada para web: su EULA (Microsoft) prohíbe distribuirla o servirla públicamente. Open Sans (OFL) es la open-source más cercana — comparte diseñador con Aptos (Steve Matteson). Cargada vía next/font/google, autoalojada en el build estático (cero requests externos en runtime). - app/layout.tsx: Inter → Open_Sans (pesos 400/600/700/800 + itálicas) - tailwind.config.ts: sans → var(--font-open-sans); token 'narrow' eliminado - app/globals.css: body font-family - docs (AGENTS, dueña-directrices, spec): Open Sans documentado, decisión registrada (28/jul/2026) Typecheck, lint, 27/27 tests y build verdes.
This commit is contained in:
1 parent
9888e93640
commit
09dedad6ae
6 files changed
+18
-21
No files matched your search
+3
-3
@@ -1,8 +1,8 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { Inter } from 'next/font/google';
|
||||
import { Open_Sans } from 'next/font/google';
|
||||
import './globals.css';
|
||||
|
||||
const inter = Inter({ subsets: ['latin'], weight: ['400', '600', '700', '900'], variable: '--font-inter', display: 'swap' });
|
||||
const openSans = Open_Sans({ subsets: ['latin'], weight: ['400', '600', '700', '800'], style: ['normal', 'italic'], variable: '--font-open-sans', display: 'swap' });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'creeer · tu estratega de crecimiento',
|
||||
@@ -21,7 +21,7 @@ export const metadata: Metadata = {
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="es" className={inter.variable}>
|
||||
<html lang="es" className={openSans.variable}>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user