diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-13 11:02:23 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-13 11:02:23 +0100 |
| commit | 7219e5bdf1cd32a75321463449f371e389767ee4 (patch) | |
| tree | e44b3f5df0c7850388fc0810906bd7df79873a6c /templates | |
| parent | c8ea8d4cd3ca9ef1c0f2e3c42ad11224d19386b9 (diff) | |
feat(style): custom colors for default buttons
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/page/index.gohtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml index 4b1389a..9bef33a 100644 --- a/templates/page/index.gohtml +++ b/templates/page/index.gohtml @@ -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> |
