From 155816a0bca7590060325ad781f757291edd318c Mon Sep 17 00:00:00 2001 From: Ricardo Date: Wed, 4 Mar 2026 12:50:19 +0100 Subject: [PATCH] feat: replace all primary (blue) with contextual colors across entire theme Eliminate monotonous blue by replacing ~290 primary- references in 60 files with semantically appropriate colors: - accent (teal): links, CTAs, buttons, tabs, focus rings, spinners - purple: Funkwhale/music, photos, Mastodon/fediverse - surface (neutral): GitHub, dates/metadata, info boxes - amber: bookmarks, blogroll categories - red: likes - green: reposts - sky: replies - orange: RSS/feeds, podcasts - #0085ff: Bluesky brand - #a730b8: Mastodon brand Also updates prose link colors in tailwind.config.js, pagefind UI primary color to teal, and client-side JS color references. Confab-Link: http://localhost:8080/sessions/bd3f7012-c703-47e9-bfe2-2ad04ce1842d --- 404.njk | 2 +- _includes/components/cv-builder.njk | 10 +++--- _includes/components/empty-collection.njk | 2 +- .../components/funkwhale-stats-content.njk | 8 ++--- _includes/components/h-card.njk | 6 ++-- _includes/components/post-navigation.njk | 8 ++--- .../components/sections/cv-experience.njk | 4 +-- .../components/sections/cv-interests.njk | 2 +- .../sections/cv-projects-personal.njk | 4 +-- .../components/sections/cv-projects-work.njk | 4 +-- _includes/components/sections/cv-projects.njk | 4 +-- _includes/components/sections/cv-skills.njk | 2 +- _includes/components/sections/hero.njk | 2 +- .../components/sections/recent-posts.njk | 20 +++++------ _includes/components/webmentions.njk | 4 +-- .../widgets/author-card-compact.njk | 2 +- _includes/components/widgets/blogroll.njk | 12 +++---- _includes/components/widgets/funkwhale.njk | 4 +-- _includes/components/widgets/github-repos.njk | 18 +++++----- .../components/widgets/post-categories.njk | 4 +-- .../components/widgets/post-navigation.njk | 8 ++--- .../components/widgets/recent-comments.njk | 2 +- .../components/widgets/recent-posts-blog.njk | 14 ++++---- _includes/components/widgets/recent-posts.njk | 10 +++--- .../components/widgets/social-activity.njk | 12 +++---- _includes/components/widgets/subscribe.njk | 4 +-- _includes/components/widgets/toc.njk | 2 +- _includes/components/widgets/webmentions.njk | 14 ++++---- _includes/layouts/home.njk | 6 ++-- about.njk | 2 +- articles.njk | 4 +-- blog.njk | 26 +++++++------- blogroll.njk | 32 ++++++++--------- bookmarks.njk | 2 +- categories-index.njk | 2 +- categories.njk | 8 ++--- changelog.njk | 8 ++--- css/tailwind.css | 10 +++--- cv.njk | 10 +++--- digest-index.njk | 6 ++-- digest.njk | 16 ++++----- funkwhale.njk | 26 +++++++------- github.njk | 34 +++++++++---------- interactions.njk | 34 +++++++++---------- js/webmentions.js | 8 ++--- lib/unfurl-shortcode.js | 2 +- likes.njk | 2 +- listening.njk | 12 +++---- news.njk | 28 +++++++-------- notes.njk | 4 +-- photos.njk | 2 +- podroll.njk | 24 ++++++------- readlater.njk | 26 +++++++------- replies.njk | 8 ++--- reposts.njk | 4 +-- search.njk | 2 +- slashes.njk | 20 +++++------ starred.njk | 34 +++++++++---------- tailwind.config.js | 4 +-- webmention-debug.njk | 2 +- 60 files changed, 298 insertions(+), 298 deletions(-) diff --git a/404.njk b/404.njk index f6b838b..cded812 100644 --- a/404.njk +++ b/404.njk @@ -8,7 +8,7 @@ pagefindIgnore: true

404

Page Not Found

Sorry, the page you're looking for doesn't exist. Try searching for it below.

- + Go back home diff --git a/_includes/components/cv-builder.njk b/_includes/components/cv-builder.njk index 3d61361..4a0493f 100644 --- a/_includes/components/cv-builder.njk +++ b/_includes/components/cv-builder.njk @@ -37,7 +37,7 @@ {{ authorName }} {% if authorTitle %} -

+

{{ authorTitle }}

{% endif %} @@ -48,7 +48,7 @@ {% endif %} {% if authorDescription %}
- + More about me ↓

@@ -82,13 +82,13 @@ {{ cvOrg }} {% endif %} {% if cvUrl %} - {{ cvUrl | replace("https://", "") | replace("http://", "") }} + {{ cvUrl | replace("https://", "") | replace("http://", "") }} {% endif %} {% if cvEmail %} - {{ cvEmail }} + {{ cvEmail }} {% endif %} {% if cvKeyUrl %} - PGP Key + PGP Key {% endif %} {% endif %} diff --git a/_includes/components/empty-collection.njk b/_includes/components/empty-collection.njk index 1e3000e..8198853 100644 --- a/_includes/components/empty-collection.njk +++ b/_includes/components/empty-collection.njk @@ -17,7 +17,7 @@

{% if typeInfo %} + class="inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-accent-600 text-white hover:bg-accent-700 transition-colors text-sm font-medium"> diff --git a/_includes/components/funkwhale-stats-content.njk b/_includes/components/funkwhale-stats-content.njk index 1f08490..bfdef89 100644 --- a/_includes/components/funkwhale-stats-content.njk +++ b/_includes/components/funkwhale-stats-content.njk @@ -2,19 +2,19 @@ {% if summary %}
- {{ summary.totalPlays or 0 }} + {{ summary.totalPlays or 0 }} Plays
- {{ summary.uniqueTracks or 0 }} + {{ summary.uniqueTracks or 0 }} Tracks
- {{ summary.uniqueArtists or 0 }} + {{ summary.uniqueArtists or 0 }} Artists
- {{ summary.totalDurationFormatted or '0m' }} + {{ summary.totalDurationFormatted or '0m' }} Listened
diff --git a/_includes/components/h-card.njk b/_includes/components/h-card.njk index d7fe4f8..8e1dc83 100644 --- a/_includes/components/h-card.njk +++ b/_includes/components/h-card.njk @@ -35,7 +35,7 @@ >
- + {{ authorName }} {% if authorPronoun %} @@ -72,7 +72,7 @@
{% if authorEmail %} {# Display text obfuscated to deter spam harvesters; href kept plain for browser compatibility #} - + ✉️ {{ authorEmail | obfuscateEmail | safe }} {% endif %} @@ -100,7 +100,7 @@ {{ socialIcon(link.icon, "w-5 h-5") }} diff --git a/_includes/components/post-navigation.njk b/_includes/components/post-navigation.njk index 8de0dbe..fb22bab 100644 --- a/_includes/components/post-navigation.njk +++ b/_includes/components/post-navigation.njk @@ -14,7 +14,7 @@ {% set _replyToUrl = _prevPost.data.inReplyTo or _prevPost.data.in_reply_to %} {% set _prevOgSlug = _prevPost.url | ogSlug %} {% set _prevHasOg = _prevOgSlug | hasOgImage %} - + {% if _prevHasOg %} {% endif %} @@ -29,7 +29,7 @@ Reposted {{ _repostedUrl | replace("https://", "") | truncate(35) }} {% elif _replyToUrl %} - + Reply to {{ _replyToUrl | replace("https://", "") | truncate(35) }} {% else %} {{ _prevPost.data.title or _prevPost.data.name or (_prevPost.templateContent | striptags | truncate(50)) or "Note" }} @@ -49,7 +49,7 @@ {% set _replyToUrl = _nextPost.data.inReplyTo or _nextPost.data.in_reply_to %} {% set _nextOgSlug = _nextPost.url | ogSlug %} {% set _nextHasOg = _nextOgSlug | hasOgImage %} - + {% if _likedUrl %} @@ -61,7 +61,7 @@ Reposted {{ _repostedUrl | replace("https://", "") | truncate(35) }} {% elif _replyToUrl %} - + Reply to {{ _replyToUrl | replace("https://", "") | truncate(35) }} {% else %} {{ _nextPost.data.title or _nextPost.data.name or (_nextPost.templateContent | striptags | truncate(50)) or "Note" }} diff --git a/_includes/components/sections/cv-experience.njk b/_includes/components/sections/cv-experience.njk index ece0cf7..2803edf 100644 --- a/_includes/components/sections/cv-experience.njk +++ b/_includes/components/sections/cv-experience.njk @@ -16,8 +16,8 @@
{% for item in cv.experience | head(maxItems) %} {% if not filterType or item.experienceType == filterType or not item.experienceType %} -
-
+
+

{{ item.title }}

{{ item.company }}{% if item.location %} · {{ item.location }}{% endif %} diff --git a/_includes/components/sections/cv-interests.njk b/_includes/components/sections/cv-interests.njk index 3c0df58..cdafc7e 100644 --- a/_includes/components/sections/cv-interests.njk +++ b/_includes/components/sections/cv-interests.njk @@ -18,7 +18,7 @@

{% for interest in items %} - + {{ interest }} {% endfor %} diff --git a/_includes/components/sections/cv-projects-personal.njk b/_includes/components/sections/cv-projects-personal.njk index 1d50766..9d583ac 100644 --- a/_includes/components/sections/cv-projects-personal.njk +++ b/_includes/components/sections/cv-projects-personal.njk @@ -25,7 +25,7 @@
{% for item in personalProjects | head(maxItems) %} -
+
{# Summary row — always visible, clickable #}
@@ -86,7 +86,7 @@
{% if post.data.title %}

- {{ post.data.title }} + {{ post.data.title }}

{% endif %} {{ bookmarkedUrl | unfurlCard | safe }} @@ -98,7 +98,7 @@ {{ post.templateContent | safe }}
{% endif %} - Permalink + Permalink
@@ -126,7 +126,7 @@ {{ post.templateContent | safe }}
{% endif %} - Permalink + Permalink
@@ -154,7 +154,7 @@ {{ post.templateContent | safe }} {% endif %} - Permalink + Permalink @@ -190,14 +190,14 @@ {{ post.templateContent | safe }} {% endif %} - Permalink + Permalink {% elif post.data.title %} {# ── Article card ── #}

- + {{ post.data.title }}

@@ -221,7 +221,7 @@ {# ── Note card ── #}
- @@ -236,7 +236,7 @@ {{ post.templateContent | safe }}
{% endif %} - + Permalink {% endif %} @@ -246,7 +246,7 @@ {% if sectionConfig.showViewAll != false %} - + {{ sectionConfig.viewAllText or "View all posts" }} diff --git a/_includes/components/webmentions.njk b/_includes/components/webmentions.njk index 87befda..83b99f9 100644 --- a/_includes/components/webmentions.njk +++ b/_includes/components/webmentions.njk @@ -162,7 +162,7 @@ {% for mention in otherMentions %}
  • {{ mention.author.name }} mentioned this on {{ mention.published | date("MMM d, yyyy") }} @@ -190,7 +190,7 @@ name="source" placeholder="https://your-site.com/response" required - class="flex-1 px-3 py-2 text-sm bg-white dark:bg-surface-700 border border-surface-300 dark:border-surface-600 rounded focus:outline-none focus:ring-2 focus:ring-primary-500" + class="flex-1 px-3 py-2 text-sm bg-white dark:bg-surface-700 border border-surface-300 dark:border-surface-600 rounded focus:outline-none focus:ring-2 focus:ring-accent-500" >