From ec78e9ae018e8d261ceccafab6cb6caba09010ff Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 16 May 2025 19:02:33 +0200 Subject: [PATCH] Add breathing animation to SVG icons --- src/lib/components/editor/editor.svelte | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lib/components/editor/editor.svelte b/src/lib/components/editor/editor.svelte index d1de0387d..07f06e700 100644 --- a/src/lib/components/editor/editor.svelte +++ b/src/lib/components/editor/editor.svelte @@ -90,6 +90,19 @@ :global(svg) { height: 128px; width: 128px; + animation: breathe 1.5s ease-in-out infinite; + + @keyframes breathe { + 0% { + transform: scale(1); + } + 50% { + transform: scale(1.1); + } + 100% { + transform: scale(1); + } + } } }