xesite/blog/site-update-let-there-be-li...

16 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

---
title: "Site Update: Let There Be Light"
date: 2021-03-13
tags:
- a11y
---
In the beginning there was darkness. Darkness was all, and darkness was where the author of this site was comfortable with. However, we live in a time of (supposed) enlightenment. Thanks to the magic of CSS media queries, if you have your computer set to prefer light mode, you will get the light mode version of this website.
<center>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">coming soon to a <a href="https://t.co/XqTylpZpkv">https://t.co/XqTylpZpkv</a> near you: light mode <a href="https://t.co/60sB2Wz3th">pic.twitter.com/60sB2Wz3th</a></p>&mdash; Cadey A. Ratio (@theprincessxena) <a href="https://twitter.com/theprincessxena/status/1370727911720943617?ref_src=twsrc%5Etfw">March 13, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</center>
According to [caniuse.com](https://caniuse.com/?search=prefers-color-scheme) I should _probably_ be fine with this. Please contact me if this acts up for you in an odd way. It shouldn't, but knowing the internet I probably messed something up somewhere.