's'
This commit is contained in:
@@ -35,9 +35,8 @@
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-noto-sans-sc), var(--font-geist-sans), system-ui,
|
||||
sans-serif;
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--font-sans: "Noto Sans SC Variable", "Geist Variable", system-ui, sans-serif;
|
||||
--font-mono: "Geist Mono Variable", monospace;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
@@ -1,25 +1,11 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono, Noto_Sans_SC } from "next/font/google";
|
||||
import "@fontsource-variable/geist";
|
||||
import "@fontsource-variable/geist-mono";
|
||||
import "@fontsource-variable/noto-sans-sc";
|
||||
import "./globals.css";
|
||||
import { ThemeProvider } from "./providers/ThemeProvider";
|
||||
import { themeInitScript } from "./theme-init";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const notoSansSC = Noto_Sans_SC({
|
||||
variable: "--font-noto-sans-sc",
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "数字游民实战课 | 从朝九晚五到边旅行边赚钱",
|
||||
description:
|
||||
@@ -35,7 +21,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="zh-CN" suppressHydrationWarning>
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} ${notoSansSC.variable} antialiased font-sans`}
|
||||
className="antialiased font-sans"
|
||||
>
|
||||
<script
|
||||
dangerouslySetInnerHTML={{ __html: themeInitScript }}
|
||||
|
||||
Reference in New Issue
Block a user