Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/playground-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"clsx": "^2.1.1",
"date-fns": "4.1.0",
"fetch-event-stream": "0.1.5",
"geist": "^1.5.1",
"lucide-react": "0.525.0",
"next": "15.3.5",
"next-themes": "^0.4.6",
Expand Down
19 changes: 4 additions & 15 deletions apps/playground-web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
import type { Metadata } from "next";
import { Fira_Code, Inter } from "next/font/google";
import { metadataBase } from "@/lib/constants";
import { cn } from "@/lib/utils";
import { AppSidebarLayout } from "./AppSidebar";
import { Providers } from "./providers";
import "@workspace/ui/global.css";
import { GeistMono } from "geist/font/mono";
import { GeistSans } from "geist/font/sans";
import { ThemeProvider } from "next-themes";
import NextTopLoader from "nextjs-toploader";
import { Toaster } from "sonner";

const sansFont = Inter({
subsets: ["latin"],
variable: "--font-sans",
weight: "variable",
});

const monoFont = Fira_Code({
subsets: ["latin"],
variable: "--font-mono",
weight: "variable",
});

export const metadata: Metadata = {
description: "thirdweb playground",
metadataBase,
Expand All @@ -37,8 +26,8 @@ export default async function RootLayout({
<body
className={cn(
"bg-background font-sans antialiased ",
sansFont.variable,
monoFont.variable,
GeistSans.variable,
GeistMono.variable,
)}
>
<ThemeProvider
Expand Down
10 changes: 10 additions & 0 deletions apps/playground-web/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ import type { Config } from "tailwindcss";

const config: Config = {
...tailwindConfig,
theme: {
...tailwindConfig.theme,
extend: {
...tailwindConfig.theme?.extend,
fontFamily: {
sans: ["var(--font-geist-sans)"],
mono: ["var(--font-geist-mono)"],
},
},
},
content: [
"./src/**/*.{ts,tsx}",
// add contents of ui package
Expand Down
21 changes: 12 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading