fix: derive heatmap color from primary instead of hardcoded blue

This commit is contained in:
2026-05-04 20:38:13 +02:00
parent 91df35dbd3
commit f4aba551a2
2 changed files with 2 additions and 1 deletions

View File

@@ -37,7 +37,7 @@
<div class="heatmap-label">Movies watched this year</div>
<div class="heatmap">
{% for cell in heatmap %}
<div class="heatmap-cell" style="background: rgba(74, 158, 255, {{ cell.alpha }})">
<div class="heatmap-cell" style="--alpha: {{ cell.alpha }}">
<div class="heatmap-count">{{ cell.count }}</div>
<div class="heatmap-month">{{ cell.month_label }}</div>
</div>