Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve tailwind colors #4

Merged
merged 1 commit into from
Dec 21, 2024
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
12 changes: 11 additions & 1 deletion apps/web/app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
4 changes: 4 additions & 0 deletions apps/web/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]&display=swap',
},
{ rel: 'stylesheet', href: stylesheet },
];

Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export async function loader() {
}

export default function Home({ loaderData }: Route.ComponentProps) {
return <h1 className="font-sans text-2xl">{loaderData?.data?.id ?? 4}</h1>;
return <h1 className="font-serif text-2xl">{loaderData?.data?.id ?? 4}</h1>;
}
2 changes: 1 addition & 1 deletion apps/web/app/server/index.ts
Original file line number Diff line number Diff line change
@@ -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<AppRouter>({
links: [
Expand Down
Loading