diff options
author | bt <bt@btxx.org> | 2024-06-08 11:56:18 -0400 |
---|---|---|
committer | bt <bt@btxx.org> | 2024-06-08 11:56:18 -0400 |
commit | 77deda68beb468f2ba67c1eb2899f834de5ab317 (patch) | |
tree | e0f19dba9f4dd000a42ac8424f13e889c7dd0120 /build/dark-mode/index.html | |
parent | 8a3e4e5207f59d42bfd6075e3792267266c86e71 (diff) |
Use openrsync for OpenBSD systems, alter README
Diffstat (limited to 'build/dark-mode/index.html')
-rw-r--r-- | build/dark-mode/index.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/dark-mode/index.html b/build/dark-mode/index.html index 02c75f0..1e4d183 100644 --- a/build/dark-mode/index.html +++ b/build/dark-mode/index.html @@ -16,16 +16,24 @@ <main> <h1 id="supporting-basic-dark-mode">Supporting Basic Dark Mode</h1> + <p>2023-03-07</p> + <p>The default <code>barf</code> site generator now supports basic dark mode functionality. This has been achieved by including the standard <code>color-scheme</code> meta tag in the core <code>header.html</code> file:</p> + <pre><code><meta name="color-scheme" content="dark light"> </code></pre> + <p>This change also ships with some minor updates to the default <code>blockquote</code> design. You can see an example below:</p> + <blockquote> <p>This is a really <em>cool</em> blockquote</p> </blockquote> + <h2 id="minor-caveat">Minor Caveat</h2> + <p>Unfortunately, Safari still has minor <code>ahref</code> / link color issue when defaulting to browser dark mode. If this is a problem for your own build of <code>barf</code>, take a look at a <a href="https://bt.ht/safari-default-dark-mode/">solution I wrote about here</a>.</p> + <p>Personally, I can’t be bothered to add that extra code to this project. The Safari team needs to get their shit together and fix such a simple bug. Plus, you shouldn’t be using Safari anyway - it’s proprietary garbage.</p> <footer role="contentinfo"> <hr> |