diff --git a/apps/web/app/app.css b/apps/web/app/app.css index 74b0b55..7a97e85 100644 --- a/apps/web/app/app.css +++ b/apps/web/app/app.css @@ -2,8 +2,18 @@ @layer theme, base, components, utilities; +@theme { + --color-white-100: #ffffff; + --color-white-200: #f8feff; + --color-white-300: #f2ece6; + --color-orange-300: #e5b99b; + --color-blue-300: #97cbd2; + --color-purple-300: #a38aba; +} + @layer theme { :root { - --font-sans: '"Inter"', ui-sans-serif, system-ui, sans-serif; + --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif; + --font-serif: "Playfair Display", ui-sans-serif, system-ui, sans-serif; } } diff --git a/apps/web/app/root.tsx b/apps/web/app/root.tsx index e8b258f..3721604 100644 --- a/apps/web/app/root.tsx +++ b/apps/web/app/root.tsx @@ -21,6 +21,10 @@ export const links: Route.LinksFunction = () => [ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap', }, + { + rel: 'stylesheet', + href: 'https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+US+Modern:wght@100..400&display=swap', + }, { rel: 'stylesheet', href: stylesheet }, ]; diff --git a/apps/web/app/routes/_index.tsx b/apps/web/app/routes/_index.tsx index c896001..62e3311 100644 --- a/apps/web/app/routes/_index.tsx +++ b/apps/web/app/routes/_index.tsx @@ -15,5 +15,5 @@ export async function loader() { } export default function Home({ loaderData }: Route.ComponentProps) { - return

{loaderData?.data?.id ?? 4}

; + return

{loaderData?.data?.id ?? 4}

; } diff --git a/apps/web/app/server/index.ts b/apps/web/app/server/index.ts index 64e4eca..f8e530f 100644 --- a/apps/web/app/server/index.ts +++ b/apps/web/app/server/index.ts @@ -1,5 +1,5 @@ import { createTRPCClient, httpBatchLink } from '@trpc/client'; -import type { AppRouter } from '../../../server/src'; +import type { AppRouter } from '../../../server/src/router'; export const client = createTRPCClient({ links: [