From 150f745b6d39b1742c369deba0112e26e688f6a9 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Tue, 14 Mar 2023 17:40:31 +0100 Subject: [PATCH] Apply suggestions from code review --- site/content/docs/04-run-time.md | 6 +++--- src/runtime/internal/utils.ts | 9 ++++----- test/utils/index.ts | 24 ------------------------ 3 files changed, 7 insertions(+), 32 deletions(-) diff --git a/site/content/docs/04-run-time.md b/site/content/docs/04-run-time.md index e3928b6156..eafa5457d0 100644 --- a/site/content/docs/04-run-time.md +++ b/site/content/docs/04-run-time.md @@ -670,7 +670,7 @@ Animates a `blur` filter alongside an element's opacity. * `duration` (`number`, default 400) — milliseconds the transition lasts * `easing` (`function`, default `cubicInOut`) — an [easing function](/docs#run-time-svelte-easing) * `opacity` (`number`, default 0) - the opacity value to animate out to and in from -* `amount` (`number|string`, default 5) - the size of the blur (support css units, for example: "4rem", numbers use px) +* `amount` (`number | string`, default 5) - the size of the blur. Supports css units (for example: `"4rem"`). The default unit is `px` ```sv