From 36d6c2b6ed9db8e54616f0ee93df01e48b3c9426 Mon Sep 17 00:00:00 2001 From: zepp Date: Wed, 19 Feb 2025 19:40:02 -0500 Subject: [PATCH] testing night mode add local styling for status.lol widget add prefers-color-scheme: dark local styling for status widget test that global dark mode and local dark mode styles are working --- src/pages/index.astro | 26 ++++++++++++++++++++++++-- src/styles/global.css | 4 ---- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index e01a50e..ac26b15 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,5 +1,10 @@ --- import "../styles/global.css"; +const pageTitle = "emma's place"; +const backgroundColor = "#ffd4de"; +const backgroundColorNightMode = "#240046"; +const textColor = "#f1dac4"; +const linkColor = "#4cc9f0"; --- @@ -8,12 +13,29 @@ import "../styles/global.css"; - Astro + {pageTitle} +
-

welcome to emma's place

+

welcome to {pageTitle}

you're at emma's place. coffee or tea of your choice are waiting for you. my cat baxter loves pets if you'd like to say hello. there's a little bit of eveything that is me here. there's no rush, you can be here for as little or as long as you'd like. you can just take it easy here. if all of this somehow brings you some happiness or makes you feel like maybe there's another human on the other side of your screen then i've done my job. have a look around, don't forget to grab a beverage

diff --git a/src/styles/global.css b/src/styles/global.css index 39a8565..9685d1a 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -321,10 +321,6 @@ main section ul li { letter-spacing: 0.05rem; } -.status .statuslol_container .statuslol { - background: var(--background-color) !important; -} - .picrew-gallery { display: flex; flex-wrap: wrap;