From 2a8b1157abfa38766bc66fa46d65edd18f1ca798 Mon Sep 17 00:00:00 2001 From: Ferdinand Date: Fri, 3 Apr 2026 17:22:16 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Logo-Animation=20=C3=BCbernimmt=20exakt?= =?UTF-8?q?e=20identifizierte=20Farbe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JSON wird per fetch geladen, Fill-Objekte von 'Small 4' (Gelb) werden direkt mutiert und Animation ab aktuellem Frame neu geladen. Kein hue-rotate mehr – eine Farbe ist exakt die gewählte Farbe. Co-Authored-By: Claude Sonnet 4.6 --- index.html | 61 +++++++++++++++++++++++++++++++++++++++++++++++------- js/app.js | 2 -- style.css | 2 -- 3 files changed, 54 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index 3e285a3..2a538c9 100644 --- a/index.html +++ b/index.html @@ -178,13 +178,7 @@ diff --git a/js/app.js b/js/app.js index db3e2aa..cf95ace 100644 --- a/js/app.js +++ b/js/app.js @@ -49,8 +49,6 @@ document.addEventListener('colorChanged', (e) => { const { h, s } = e.detail; const pastelS = Math.round(Math.min(s * 0.5, 45)); document.body.style.background = `hsl(${h}, ${pastelS}%, 92%)`; - const logo = document.getElementById('lottie-logo'); - if (logo) logo.style.filter = `hue-rotate(${h - 52}deg)`; }); initEingabe(addFavorit, addColorToSchema); diff --git a/style.css b/style.css index 8d40fed..da42ccc 100644 --- a/style.css +++ b/style.css @@ -10,8 +10,6 @@ body { transition: background 0.8s ease; } -#lottie-logo { transition: filter 0.8s ease; } - #lottie-bg { position: fixed; inset: 0;