fix: align sparkline colors with per-type domain colors
Match sparkline wrapper colors to the post type icon colors used in the recent posts widget: replies=sky, reposts=green, likes=red, photos=purple. Articles, notes, bookmarks, and blog keep amber (writing domain). Confab-Link: http://localhost:8080/sessions/0ec83454-d346-4329-8aaf-6b12139bf596
This commit is contained in:
@@ -14,7 +14,7 @@ permalink: "reposts/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNum
|
||||
<h1 class="text-2xl sm:text-3xl font-bold text-surface-900 dark:text-surface-100">Reposts</h1>
|
||||
{% set sparklineSvg = collections.reposts | postingFrequency %}
|
||||
{% if sparklineSvg %}
|
||||
<div class="flex-1 min-w-0 text-rose-600 dark:text-rose-400">{{ sparklineSvg | safe }}</div>
|
||||
<div class="flex-1 min-w-0 text-green-600 dark:text-green-400">{{ sparklineSvg | safe }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<p class="text-surface-600 dark:text-surface-400 mb-6 sm:mb-8">
|
||||
|
||||
Reference in New Issue
Block a user