fix the logo contrast issue

now the color is automatically inverted based on the currently set theme
(which may or may not be changed by the user)
This commit is contained in:
surtur 2021-10-08 15:43:38 +02:00
parent 4005d6388b
commit a0ef6b3fb1
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -1,7 +1,7 @@
<div class="ui container" id="navbar">
<div class="item brand" style="justify-content: space-between;">
<a href="/">
<img class="ui mini image" {{if .SignedUser}}{{if not (eq .SignedUser.Theme "arc-green" "42l-dark" "42l-light")}}style="filter: invert(.8);"{{end}}{{else if not (eq DefaultTheme "arc-green" "42l-dark" "42l-light")}}style="filter: invert(.8);"{{end}} src="/img/logo.svg" alt="git.dotya.ml icon">
<img class="ui mini image" width="30" height="30" {{if .SignedUser}}{{if not (eq .SignedUser.Theme "arc-green" "42l-dark" "42l-light")}}style="filter: invert(.8);"{{end}}{{else if not (eq DefaultTheme "arc-green" "42l-dark" "42l-light")}}style="filter: invert(.8);"{{end}} src="/assets/img/logo.svg" alt="git.dotya.ml icon">
</a>
<div class="ui basic icon button mobile-only" id="navbar-expand-toggle">
<i class="sidebar icon"></i>