feat: apply Anuphan font to toast notifications in UI layout
This commit is contained in:
+7
-1
@@ -5,6 +5,12 @@ import Image from "@/components/image";
|
|||||||
import { StarsRenderer } from "@/components/stars";
|
import { StarsRenderer } from "@/components/stars";
|
||||||
import Providers, { VersionCheck } from "../client";
|
import Providers, { VersionCheck } from "../client";
|
||||||
import { Navbar } from "./navbar";
|
import { Navbar } from "./navbar";
|
||||||
|
import { Anuphan } from "next/font/google";
|
||||||
|
|
||||||
|
const anuphan = Anuphan({
|
||||||
|
variable: "--font-anuphan",
|
||||||
|
subsets: ["latin", "thai"],
|
||||||
|
});
|
||||||
|
|
||||||
export default async function UiLayout({
|
export default async function UiLayout({
|
||||||
children,
|
children,
|
||||||
@@ -24,7 +30,7 @@ export default async function UiLayout({
|
|||||||
<VersionCheck />
|
<VersionCheck />
|
||||||
<Navbar />
|
<Navbar />
|
||||||
</Providers>
|
</Providers>
|
||||||
<Toaster theme="dark" richColors closeButton />
|
<Toaster theme="dark" richColors closeButton toastOptions={{ className: anuphan.className }} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user