feat(style): custom colors for default buttons

This commit is contained in:
Anhgelus Morhtuuzh 2024-11-13 11:02:23 +01:00
parent c8ea8d4cd3
commit 7219e5bdf1
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
3 changed files with 21 additions and 4 deletions

View file

@ -18,8 +18,8 @@
<a href="{{ .Link }}" style="{{ .GetLinkColor }}">{{ .Content }}</a>
</div>
{{ end }}
<div class="link" style="--background: #000;--background-hover: #333;">
<a href="/tags" style="--text-color: #ddd;--text-color-hover: #fff;">Tags</a>
<div class="link" style="{{ .Color.Button.GetBackground }}">
<a href="/tags" style="{{ .Color.Button.GetTextColor }}">Tags</a>
</div>
</div>
</main>