From 7124d70c400a857fc06a3ee341bb6f319a47b83b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 31 Aug 2026 07:18:52 -0300 Subject: [PATCH] fix(ui): add CJK font fallbacks for Japanese and Chinese text DM Sans and the mono stack have no CJK coverage; Japanese and Chinese content (builder names, descriptions, future translations) was falling through to whatever system font the OS picked. Adds Hiragino/Yu Gothic/Noto JP for Japanese, PingFang/Noto SC/YaHei for Simplified Chinese to the sans and display stacks, and Noto Sans Mono CJK JP to the mono stack. --- src/app/globals.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index ad33682..97a91a7 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -28,9 +28,9 @@ --teal: #7ecfd8; --cream: #f2ecdd; --halftone: radial-gradient(rgba(250, 248, 242, 0.055) 1px, transparent 1.4px); - --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; - --font-display: "Arial Narrow", "Roboto Condensed", ui-sans-serif, system-ui, sans-serif; - --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; + --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; + --font-display: "Arial Narrow", "Roboto Condensed", ui-sans-serif, system-ui, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; + --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Noto Sans Mono CJK JP", monospace; } * { box-sizing: border-box; }