From 1067754ae8c5370bababaf1af44b2419a9eb0171 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Wed, 7 Oct 2026 19:31:18 +0200 Subject: [PATCH] Fix getColors: add blue/blueLight to keys and map The previous commit used ASH.blue and ASH.blueLight but these were not registered in the getColors() key list or CSS-variable map, so they were undefined and hexToInt blew up trying to call .replace on undefined. Added both as proper keys, mapped to the existing --blue / --blue-light CSS variables. --- background.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/background.html b/background.html index 072221b..c68dd74 100644 --- a/background.html +++ b/background.html @@ -554,7 +554,8 @@ if (useVanta && typeof VANTA !== 'undefined') { var keys = [ 'void', 'panel', 'raised', 'border', 'mid', 'ash', 'icon', 'stone', 'bone', 'chalk', - 'ember', 'gold', 'blood', 'rust', 'rot', 'moss', 'steel', 'steelLight', 'violet' + 'ember', 'gold', 'blood', 'rust', 'rot', 'moss', + 'steel', 'steelLight', 'blue', 'blueLight', 'violet' ]; var map = { void: 'black', @@ -570,7 +571,9 @@ if (useVanta && typeof VANTA !== 'undefined') { rot: 'pink', moss: 'green', steel: 'blue', - steelLight: 'blue-light', + steelLight: 'blue', + blue: 'blue', + blueLight: 'blue-light', violet: 'purple' }; var result = {};