From 415c2a2142cced43df3775166b44608b4bd3e28e Mon Sep 17 00:00:00 2001 From: Jordan Roher Date: Fri, 21 Apr 2023 16:03:30 -0700 Subject: [PATCH] No more nesting --- src/tailwind.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tailwind.css b/src/tailwind.css index 3945125..07328ae 100644 --- a/src/tailwind.css +++ b/src/tailwind.css @@ -4,16 +4,20 @@ html { background-color: theme(colors.slate.50); +} - @media (prefers-color-scheme: dark) { +@media (prefers-color-scheme: dark) { + html { background-color: theme(colors.gray.950); } } body { min-height: 100vh; +} - @media (prefers-color-scheme: dark) { +@media (prefers-color-scheme: dark) { + body { color: theme(colors.slate.200); } }