fix: improve font configuration for Chinese support
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
||||
--font-mono: 'Inter', 'ui-monospace', 'SFMono-Regular', 'Menlo', monospace;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { Metadata } from 'next';
|
||||
import { Inter } from 'next/font/google';
|
||||
import './globals.css';
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] });
|
||||
const inter = Inter({ subsets: ['latin'], display: 'swap' });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: '资源下载 - 选择项目和版本',
|
||||
|
||||
Reference in New Issue
Block a user