Merge pull request #767 from ralphocdol/theme-title-on-hover

Theme preset name on hover
pull/772/head
Svilen Markov 2025-07-19 16:55:58 +07:00 committed by GitHub
commit 43e7496839
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -12,7 +12,7 @@
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .NegativeColor }}{{ $negative = .NegativeColor.String | safeCSS }}{{ end }} {{- if .NegativeColor }}{{ $negative = .NegativeColor.String | safeCSS }}{{ end }}
<button class="theme-preset{{ if .Light }} theme-preset-light{{ end }}" style="--color: {{ $background }}" data-key="{{ .Key }}"> <button class="theme-preset{{ if .Light }} theme-preset-light{{ end }}" style="--color: {{ $background }}" data-key="{{ .Key }}" title="{{ .Key }}">
<div class="theme-color" style="--color: {{ $primary }}"></div> <div class="theme-color" style="--color: {{ $primary }}"></div>
<div class="theme-color" style="--color: {{ $positive }}"></div> <div class="theme-color" style="--color: {{ $positive }}"></div>
<div class="theme-color" style="--color: {{ $negative }}"></div> <div class="theme-color" style="--color: {{ $negative }}"></div>