fix: derive heatmap color from primary instead of hardcoded blue
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
<div class="heatmap-label">Movies watched this year</div>
|
<div class="heatmap-label">Movies watched this year</div>
|
||||||
<div class="heatmap">
|
<div class="heatmap">
|
||||||
{% for cell in 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-count">{{ cell.count }}</div>
|
||||||
<div class="heatmap-month">{{ cell.month_label }}</div>
|
<div class="heatmap-month">{{ cell.month_label }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -471,6 +471,7 @@ form button[type="submit"]:hover {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
min-height: 48px;
|
min-height: 48px;
|
||||||
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
||||||
|
background: oklch(85.2% 0.199 91.936 / var(--alpha, 0.05));
|
||||||
}
|
}
|
||||||
.heatmap-count { font-size: 0.85rem; font-weight: 700; }
|
.heatmap-count { font-size: 0.85rem; font-weight: 700; }
|
||||||
.heatmap-month { font-size: 0.65rem; opacity: 0.6; margin-top: 2px; }
|
.heatmap-month { font-size: 0.65rem; opacity: 0.6; margin-top: 2px; }
|
||||||
|
|||||||
Reference in New Issue
Block a user