Better handle dark mode

This commit is contained in:
Neil Brommer 2018-01-03 13:48:57 -08:00
parent d679942eac
commit 31333452c4
3 changed files with 45 additions and 55 deletions

View file

@ -97,11 +97,6 @@
</div>
</nav>
<!-- try to prevent flickering -->
<script>
checkTheme();
</script>
<div class="container">
<div class="jumbotron">
@ -112,11 +107,6 @@
</p>
</div>
<!-- try to prevent flickering -->
<script>
checkTheme();
</script>
<div class="card-columns">
<div class="card">
<h4 class="card-header">Snippets</h4>
@ -165,11 +155,6 @@
</div>
</div>
</div>
<!-- try to prevent flickering -->
<script>
checkTheme();
</script>
</div>
</body>