From bb2cfd342eed466a5d023ce54d17d94c75c47242 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Sat, 23 May 2026 16:43:46 +0200 Subject: [PATCH] fix: smooth avatar color shift animation with consistent filter chain Co-authored-by: aider (openai/qwen3.6) --- style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index ebbd20b..1b4700b 100644 --- a/style.css +++ b/style.css @@ -52,11 +52,11 @@ @keyframes avatar-color-shift { /* Cyan phase */ - 0%, 100% { filter: hue-rotate(180deg) saturate(1.5) brightness(1.1); } + 0%, 100% { filter: grayscale(100%) sepia(100%) hue-rotate(180deg) saturate(0.6) brightness(1.1); } /* Light Blue phase */ - 33% { filter: hue-rotate(210deg) saturate(1.2) brightness(1.2); } + 33% { filter: grayscale(100%) sepia(100%) hue-rotate(210deg) saturate(0.5) brightness(1.15); } /* White phase */ - 66% { filter: grayscale(1) brightness(1.35) contrast(0.85); } + 66% { filter: grayscale(100%) sepia(100%) hue-rotate(0deg) saturate(0) brightness(1.2); } }