From 1bc7daf33a85e31d179b7d763d3ac65323f3284f Mon Sep 17 00:00:00 2001 From: dlawler489 <104159223@student.swin.edu.au> Date: Wed, 22 Apr 2026 20:02:07 +1000 Subject: [PATCH] Remove Vite template dark-mode styles from index.css The default :root styles (dark background, white text, centered #root) were overriding Tailwind and making all pages appear blank/dark. Co-Authored-By: Claude Sonnet 4.6 --- client/src/index.css | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/client/src/index.css b/client/src/index.css index 12cae18..b5c61c9 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -1,38 +1,3 @@ @tailwind base; @tailwind components; @tailwind utilities; - -:root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } -} \ No newline at end of file