From c0af6db00e03831506e92f69b95ac53783940419 Mon Sep 17 00:00:00 2001 From: Alexandre Stahmer <47224540+astahmer@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:05:35 +0100 Subject: [PATCH] fix(docs): defineKeyframes usage (#2029) --- website/pages/docs/customization/config-functions.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/pages/docs/customization/config-functions.md b/website/pages/docs/customization/config-functions.md index d2792b1f1..2f2bb48aa 100644 --- a/website/pages/docs/customization/config-functions.md +++ b/website/pages/docs/customization/config-functions.md @@ -169,9 +169,11 @@ Function for [keyframes](/docs/customization/theme#keyframes) definitions. ```ts import { defineKeyframes } from '@pandacss/dev' -export const fadein = defineKeyframes({ - '0%': { opacity: '0' }, - '100%': { opacity: '1' } +export const keyframes = defineKeyframes({ + fadeIn: { + '0%': { opacity: '0' }, + '100%': { opacity: '1' } + } }) ```