Skip to content

Commit

Permalink
dark mode kinda coming lol
Browse files Browse the repository at this point in the history
  • Loading branch information
EsmailELBoBDev2 committed Dec 27, 2020
1 parent 51adc56 commit 68ce70c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/templates/index.html
Expand Up @@ -58,11 +58,13 @@
<nav class="blue lighten-1" role="navigation">
<div class="nav-wrapper container"><a id="logo-container" href="/" class="brand-logo"><i class="material-icons">translate</i> LibreTranslate</a>
<ul class="right hide-on-med-and-down">
<li><a href="/docs">Dark Mode</a></li>
<li><a href="/docs">API Docs</a></li>
<li><a href="https://github.com/uav4geo/LibreTranslate">GitHub</a></li>
</ul>

<ul id="nav-mobile" class="sidenav">
<li><a href="/docs">Dark Mode</a></li>
<li><a href="/docs">API Docs</a></li>
<li><a href="https://github.com/uav4geo/LibreTranslate">GitHub</a></li>
</ul>
Expand Down Expand Up @@ -422,6 +424,11 @@ <h5 class="white-text">LibreTranslate</h5>

});

function darkmode(){
document.getElementById("blue lighten-1").style.backgroundColor = "#202225 !important"
}


</script>
</body>
</html>
</html>

0 comments on commit 68ce70c

Please sign in to comment.