Skip to content

Commit

Permalink
remove daisyui
Browse files Browse the repository at this point in the history
  • Loading branch information
nahtnam committed Nov 25, 2024
1 parent fc29b98 commit 0fd0c27
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 147 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"concurrently": "^9.0.1",
"daisyui": "^4.12.10",
"eslint": "^9.15.0",
"husky": "^9.1.7",
"lefthook": "^1.7.18",
Expand Down
47 changes: 0 additions & 47 deletions pnpm-lock.yaml

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

32 changes: 0 additions & 32 deletions src/app/_components/footer/index.tsx

This file was deleted.

50 changes: 0 additions & 50 deletions src/app/_components/navbar/index.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,3 @@
@apply font-display;
}
}

@layer components {
label:has(> input:required) .label-text::after {
content: " *";
@apply text-error;
}
}
4 changes: 0 additions & 4 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import type { Metadata } from "next";
import { Inter, Inter_Tight as InterTight } from "next/font/google";
import { twMerge } from "tailwind-merge";
import { Footer } from "./_components/footer";
import { Navbar } from "./_components/navbar";
import "./globals.css";

const inter = Inter({
Expand Down Expand Up @@ -32,9 +30,7 @@ export default function RootLayout({
className={twMerge(inter.variable, interTight.variable, "h-full")}
>
<body className="flex min-h-screen flex-col">
<Navbar />
<main className="flex-grow">{children}</main>
<Footer />
</body>
</html>
);
Expand Down
7 changes: 1 addition & 6 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
import tailwindTypography from "@tailwindcss/typography";
import daisyui from "daisyui";
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";

const config: Config = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
daisyui: {
themes: ["light"],
logs: false,
},
plugins: [tailwindTypography, daisyui],
plugins: [tailwindTypography],
theme: {
extend: {
container: {
Expand Down

0 comments on commit 0fd0c27

Please sign in to comment.