Skip to content

Commit

Permalink
feat: setup tailwindcss and shadcn in project (#40)
Browse files Browse the repository at this point in the history
* chore: setup tailwind and shadcn on ui package

* chore: added tailwind config to client

* fix: css not rendering

* feat: set color pallet for shadcn

* chore: setup tailwindcss and shadcn for admin

* fix: lint

---------

Co-authored-by: Antony David <antonydavid945@gmail.com>
  • Loading branch information
Metololo and Jayllyz authored Apr 7, 2024
1 parent afa955e commit 3d799ec
Show file tree
Hide file tree
Showing 30 changed files with 842 additions and 1,128 deletions.
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
auto-install-peers = true
enable-pre-post-scripts=true # Enable pre/post scripts (for postui:add)
Binary file removed apps/admin/app/favicon.ico
Binary file not shown.
50 changes: 0 additions & 50 deletions apps/admin/app/globals.css

This file was deleted.

10 changes: 7 additions & 3 deletions apps/admin/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
import '@repo/ui/globals.css';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import './globals.css';

const inter = Inter({ subsets: ['latin'] });

export const metadata: Metadata = {
title: 'Create Turborepo',
title: 'Docs',
description: 'Generated by create turbo',
};

export default function RootLayout({ children }: { children: React.ReactNode }): JSX.Element {
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}): JSX.Element {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
Expand Down
Loading

0 comments on commit 3d799ec

Please sign in to comment.