fix: hide month labels and improve dark mode contrast in AI post-graph
Widget: add noLabels to prevent month abbreviations from squishing together in the narrow sidebar. Both widget and section: use lighter boxColorDark (#44403c / surface-700) so empty grid cells are visible against the surface-800 sidebar/section backgrounds in dark mode. Confab-Link: http://localhost:8080/sessions/edb1b7b0-da66-4486-bd9c-d1cfa7553b88
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
{# Compact post-graph — current year only, AI posts highlighted #}
|
||||
{% if aiPostsList and aiPostsList.length %}
|
||||
<div class="text-[10px] text-surface-500 dark:text-surface-400 mb-2">AI-involved posts this year</div>
|
||||
{% postGraph aiPostsList, { prefix: "ai-widget", limit: 1, highlightColorLight: "#d97706", highlightColorDark: "#fbbf24" } %}
|
||||
{% postGraph aiPostsList, { prefix: "ai-widget", limit: 1, noLabels: true, boxColorDark: "#44403c", highlightColorLight: "#d97706", highlightColorDark: "#fbbf24" } %}
|
||||
{% endif %}
|
||||
|
||||
<a href="/ai/" class="text-sm text-amber-600 dark:text-amber-400 hover:underline flex items-center gap-1 mt-3">
|
||||
|
||||
Reference in New Issue
Block a user