From fb9c3408322e10baffab00185af4719ae85c8174 Mon Sep 17 00:00:00 2001 From: Andres Date: Thu, 20 Jun 2024 23:31:48 +0200 Subject: [PATCH] dark mode only --- app/root.tsx | 2 +- tailwind.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/root.tsx b/app/root.tsx index 674e361..91ae26b 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -7,7 +7,7 @@ export const links: LinksFunction = () => [{ rel: 'stylesheet', href: stylesheet export function Layout({ children }: PropsWithChildren) { return ( - + diff --git a/tailwind.config.ts b/tailwind.config.ts index ed1872a..119e0b3 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -3,6 +3,7 @@ import colors from 'tailwindcss/colors' import defaultTheme from 'tailwindcss/defaultTheme' export default { + darkMode: 'selector', content: [ './app/**/*.{js,jsx,ts,tsx}',