aboutsummaryrefslogtreecommitdiff
path: root/posts/html-dark-mode.md
diff options
context:
space:
mode:
Diffstat (limited to 'posts/html-dark-mode.md')
-rw-r--r--posts/html-dark-mode.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/posts/html-dark-mode.md b/posts/html-dark-mode.md
index 0d94def..f5a25b6 100644
--- a/posts/html-dark-mode.md
+++ b/posts/html-dark-mode.md
@@ -3,7 +3,7 @@
2023-04-11
I wrote an article back in 2021 called [The Lazy Developer's Dark
-Mode](https://bt.ht/lazy-dev-dark-mode/) where I explained how to implement
+Mode](https://btxx.org/posts/lazy-dev-dark-mode/) where I explained how to implement
a very basic "dark mode" by using the `prefers-color-scheme` CSS attribute.
This stills works perfectly fine, and in fact there is a cleaner variation of
this created by *jacksonchen666*: [These 3 Lines of CSS Will Give You Dark Mode for Free](https://jacksonchen666.com/posts/2023-04-09/13-47-16/).
@@ -20,10 +20,10 @@ Add that line inside the `head` tags on your HTML files and you're good to go.
## Minor Caveat
I mentioned this same issue on the official [barf blog
-post](https://barf.bt.ht/dark-mode/) but it doesn't hurt to repeat it here.
+post](https://barf.btxx.org/dark-mode/) but it doesn't hurt to repeat it here.
Safari still has minor ahref / link color issue when defaulting to browser dark
mode. If supporting that browser is a deal-breaker for you, I suggest looking
-at my [hacky solution](https://bt.ht/safari-default-dark-mode/).
+at my [hacky solution](https://btxx.org/posts/safari-default-dark-mode/).
Hopefully this helps others to add dark mode to their existing websites and
projects with minimal effort!