From 8023a907dea1449e31b2396766ca8f69f7258e08 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sat, 11 Apr 2026 21:34:23 +0200 Subject: [PATCH] fix: adjust LinksGrid nth-child offsets for earlier, more frequent color pops Shift pop-b and pop-c selectors so accent colors appear sooner in the grid and the light/white pop-c repeats more frequently (every 5th instead of every 7th item). Co-Authored-By: Claude Opus 4.6 --- package.json | 2 +- src/lib/components/LinksGrid.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cde384a..6d69138 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homepage", - "version": "1.26.1", + "version": "1.26.2", "private": true, "type": "module", "scripts": { diff --git a/src/lib/components/LinksGrid.svelte b/src/lib/components/LinksGrid.svelte index a6d714a..d47d23e 100644 --- a/src/lib/components/LinksGrid.svelte +++ b/src/lib/components/LinksGrid.svelte @@ -17,10 +17,10 @@ :global(.links_grid a:nth-child(3n+1) svg:not(.lock-icon)) { fill: var(--grid-fill-pop-a); } -:global(.links_grid a:nth-child(5n+3) svg:not(.lock-icon)) { +:global(.links_grid a:nth-child(5n+2) svg:not(.lock-icon)) { fill: var(--grid-fill-pop-b); } -:global(.links_grid a:nth-child(7n) svg:not(.lock-icon)) { +:global(.links_grid a:nth-child(5n+4) svg:not(.lock-icon)) { fill: var(--grid-fill-pop-c); }