feat(fonts): inter + jetbrains mono via next/font — 7C.3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,23 @@
|
||||
import type { Metadata, Viewport } from 'next';
|
||||
import React from 'react';
|
||||
import { Inter, JetBrains_Mono } from 'next/font/google';
|
||||
import StyledComponentsRegistry from '@/styles/registry';
|
||||
import GlobalStyle from '@/styles/GlobalStyle';
|
||||
|
||||
const inter = Inter({
|
||||
subsets: ['latin'],
|
||||
weight: ['400', '500', '600', '700', '800'],
|
||||
variable: '--font-inter',
|
||||
display: 'swap',
|
||||
});
|
||||
|
||||
const jetbrainsMono = JetBrains_Mono({
|
||||
subsets: ['latin'],
|
||||
weight: ['400', '500', '600'],
|
||||
variable: '--font-jetbrains-mono',
|
||||
display: 'swap',
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'ReLoop — 적응형 복습 스케줄링',
|
||||
description: '페르소나 망각 곡선 기반 수능 학습 최적화 플랫폼',
|
||||
@@ -19,7 +34,7 @@ export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{ children: React.ReactNode }>) {
|
||||
return (
|
||||
<html lang="ko">
|
||||
<html lang="ko" className={`${inter.variable} ${jetbrainsMono.variable}`}>
|
||||
<head>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
|
||||
@@ -76,10 +76,10 @@ export const theme = {
|
||||
sans:
|
||||
"'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif",
|
||||
mono:
|
||||
"'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace",
|
||||
"var(--font-jetbrains-mono), 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace",
|
||||
// Phase 7 design tokens — big number / display font
|
||||
display:
|
||||
"'Inter', 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif",
|
||||
"var(--font-inter), 'Inter', 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif",
|
||||
},
|
||||
|
||||
shadow: {
|
||||
|
||||
Reference in New Issue
Block a user