Skip to content

Commit 7fe18bf

Browse files
committed
feat(website): update font and theme configurations; bump Tailwind CSS version
1 parent 2097b58 commit 7fe18bf

File tree

5 files changed

+83
-77
lines changed

5 files changed

+83
-77
lines changed

apps/website/app/layout.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@ import "./overrides.css";
33

44
import { RootProvider } from "fumadocs-ui/provider";
55
import type { Metadata } from "next";
6+
import { IBM_Plex_Mono } from "next/font/google";
67
import { ViewTransitions } from "next-view-transitions";
78
import type { ReactNode } from "react";
89

910
import { baseUrl } from "../lib/metadata";
1011

12+
const ibm_plex_mono = IBM_Plex_Mono({
13+
subsets: ["latin"],
14+
variable: "--font-ibm_plex_mono",
15+
weight: ["400", "500", "700"],
16+
});
17+
1118
export const metadata = {
1219
description: "More than 80 high-quality linting rules for writing better React code.",
1320
title: {
@@ -20,7 +27,7 @@ export const metadata = {
2027
export default function Layout({ children }: { children: ReactNode }) {
2128
return (
2229
<ViewTransitions>
23-
<html lang="en" suppressHydrationWarning>
30+
<html className={ibm_plex_mono.variable} lang="en" suppressHydrationWarning>
2431
<meta content="#fff" name="msapplication-TileColor" />
2532
<meta content="en" httpEquiv="Content-Language" />
2633
<meta content="ESLint React" name="apple-mobile-web-app-title" />

apps/website/app/overrides.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"Noto Color Emoji";
3737

3838
--font-family-mono:
39+
var(--font-ibm_plex_mono),
3940
ui-monospace,
40-
SFMono-Regular,
4141
Menlo,
4242
Monaco,
4343
Consolas,

apps/website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@local/configs": "workspace:*",
3535
"@mdx-js/mdx": "^3.1.0",
3636
"@next/eslint-plugin-next": "^15.2.1",
37-
"@tailwindcss/postcss": "^4.0.9",
37+
"@tailwindcss/postcss": "^4.0.10",
3838
"@tsconfig/next": "^2.0.3",
3939
"@tsconfig/node22": "^22.0.0",
4040
"@tsconfig/strictest": "^2.0.5",
@@ -57,7 +57,7 @@
5757
"eslint-plugin-simple-import-sort": "^12.1.1",
5858
"eslint-plugin-unicorn": "^57.0.0",
5959
"postcss": "^8.5.3",
60-
"tailwindcss": "^4.0.9",
60+
"tailwindcss": "^4.0.10",
6161
"typescript": "^5.8.2",
6262
"typescript-eslint": "^8.26.0"
6363
}

apps/website/source.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default defineConfig({
1515
langs: ["js", "ts", "jsx", "tsx", "html", "mdx"],
1616
lazy: true,
1717
themes: {
18-
dark: "plastic",
18+
dark: "vesper",
1919
light: "github-light",
2020
},
2121
transformers: [

0 commit comments

Comments
 (0)