Skip to content

Commit d73cae2

Browse files
committed
Web Fonts 周りを最適化
1 parent 27a7f28 commit d73cae2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

apps/client/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
<meta property="og:locale" content="ja" />
1919
<meta property="og:image" content="https://traqing.cp20.dev/og.png" />
2020
<meta property="og:type" content="website" />
21+
<link rel="preconnect" href="https://fonts.googleapis.com" />
22+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
2123
</head>
2224
<body>
2325
<div id="root"></div>

apps/client/src/index.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
1+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400..700&display=swap');
22

33
@tailwind base;
44
@tailwind components;
55
@tailwind utilities;
66

77
body {
8-
font-family: "Noto Sans JP", sans-serif;
8+
font-family: 'Noto Sans JP', sans-serif;
99
font-optical-sizing: auto;
1010
font-style: normal;
1111
color: #49535b;

0 commit comments

Comments
 (0)