Skip to content

Commit

Permalink
Update header.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIncognito85 committed Mar 12, 2022
2 parents 98b24ea + 9864401 commit 35e39cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Theme/Argon/includes/header.twig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
</ul>
{% if config('argon_theme') == 'none' %}
<div class="container d-flex justify-content-right">


<div class="mt-2 mb-5 d-flex">
<div class="form-check form-switch ps-0 ms-auto my-auto">
<input class="form-check-input mt-1 ms-auto" type="checkbox" id="dark-version" onclick="darkMode(this)" {{ config('argon_default') == 'dark' and request().CookieParams.theme == 'dark' ? 'checked' : '' }} {{ config('argon_default') == 'dark' and request().CookieParams.theme == null ? 'checked' : '' }}>
Expand Down

0 comments on commit 35e39cb

Please sign in to comment.