Skip to content

Commit

Permalink
fixed theme config
Browse files Browse the repository at this point in the history
  • Loading branch information
jewlexx committed Dec 19, 2024
1 parent 1d20cab commit d6ab537
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function RootLayout({
return (
<html lang="en" className="h-full w-full" data-theme="cupcake">
<body
className={`${roboto.className} ${robotoMono.className} box-border min-h-full w-full bg-background pb-12 text-lg text-foreground antialiased`}
className={`${roboto.className} ${robotoMono.className} box-border min-h-full w-full pb-12 text-lg antialiased`}
>
{children}
</body>
Expand Down
8 changes: 6 additions & 2 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Config } from 'tailwindcss';
import daisyui from 'daisyui';
import daisyui, { type Config as DaisyConfig } from 'daisyui';
import typography from '@tailwindcss/typography';

export default {
Expand All @@ -20,5 +20,9 @@ export default {
}
}
},
plugins: [typography, daisyui]
plugins: [typography, daisyui],

daisyui: {
themes: ['cupcake']
} satisfies DaisyConfig
} satisfies Config;

0 comments on commit d6ab537

Please sign in to comment.