ソースを参照

style: add Inter font from Google Fonts

- Add Inter font link to index.html
- Set Inter as primary font-family in var.css

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
yb 2 週間 前
コミット
93eab5677b
2 ファイル変更2 行追加0 行削除
  1. 1 0
      index.html
  2. 1 0
      src/styles/var.css

+ 1 - 0
index.html

@@ -3,6 +3,7 @@
   <head>
     <meta charset="UTF-8" />
     <link rel="icon" href="/favicon.ico" />
+    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <meta

+ 1 - 0
src/styles/var.css

@@ -61,6 +61,7 @@
 
 html,
 body {
+  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
 }