Add a note that dark mode is experimental

This commit is contained in:
Philipp Oppermann
2021-10-16 17:27:33 +02:00
parent 990169b631
commit d8c27c7fcc
4 changed files with 35 additions and 0 deletions

View File

@@ -118,6 +118,8 @@
</p>
</div>
</div>
{{ snippets::dark_mode_note() }}
</aside>
{% endblock after_main %}

View File

@@ -130,6 +130,8 @@
{% endfor %}</ul>
</div>
{%- endif %}
{{ snippets::dark_mode_note() }}
</aside>
{% endblock main %}

View File

@@ -45,3 +45,12 @@
Instead of authenticating the <a href="https://giscus.app">giscus</a> application, you can also comment directly <a href="{{ discussion_url }}"><em>on GitHub</em></a>.
</p>
{% endmacro giscus %}
{% macro dark_mode_note() %}
<div class="dark-mode-note warning">
<h2>Dark Mode is Experimental</h2>
<p>
We're still working on adjusting text colors, fixing images, and removing inconsistencies. If you have any problems, please <a href="https://github.com/phil-opp/blog_os/issues">file an issue</a>.
</p>
</aside>
{% endmacro dark_mode_note %}