aboutsummaryrefslogtreecommitdiff
path: root/build/dark-mode
diff options
context:
space:
mode:
authorbt <bt@btxx.org>2024-06-08 11:56:18 -0400
committerbt <bt@btxx.org>2024-06-08 11:56:18 -0400
commit77deda68beb468f2ba67c1eb2899f834de5ab317 (patch)
treee0f19dba9f4dd000a42ac8424f13e889c7dd0120 /build/dark-mode
parent8a3e4e5207f59d42bfd6075e3792267266c86e71 (diff)
Use openrsync for OpenBSD systems, alter README
Diffstat (limited to 'build/dark-mode')
-rw-r--r--build/dark-mode/index.html8
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>&#60;meta name="color-scheme" content="dark light"&#62;
</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> &#47; 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&#8217;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&#8217;t be using Safari anyway - it&#8217;s proprietary garbage.</p>
<footer role="contentinfo">
<hr>