diff --git a/frontend/index.html b/frontend/index.html index 75a9398..6a22d07 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -9,10 +9,10 @@ Solid App - + - +
diff --git a/frontend/src/index.css b/frontend/src/index.css index f75cff6..5952e51 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -2,8 +2,27 @@ @tailwind components; @tailwind utilities; -html { - font-family: "Inter", sans-serif; - font-optical-sizing: auto; - font-variation-settings: "slnt" 0; +/* Dark mode */ +:root { + --c-bg: #09090b; + --c-on-bg: white; +} + +/* Light mode */ +@media (prefers-color-scheme: dark) { + :root { + --c-bg: white; + --c-on-bg: #09090b; + --c-border-1: #a1a1aa; + --c-primary: #7c3aed; + --c-on-primary: white; + } +} + +html { + font-family: "Inter", sans-serif; + font-optical-sizing: auto; + font-variation-settings: "slnt" 0; + background-color: var(--c-bg); + color: var(--c-on-bg); } diff --git a/frontend/src/routes/Login.tsx b/frontend/src/routes/Login.tsx index 5c54e9c..451c4a1 100644 --- a/frontend/src/routes/Login.tsx +++ b/frontend/src/routes/Login.tsx @@ -31,40 +31,40 @@ export function Login() { return (
-
-
-

Login

-