From 948504c260e5493ed3f946ce29b70ff812de3511 Mon Sep 17 00:00:00 2001 From: Charles Teh <39686678+charlesteh@users.noreply.github.com> Date: Thu, 3 Jul 2025 21:21:45 +0800 Subject: [PATCH] Update app.css --- resources/css/app.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/resources/css/app.css b/resources/css/app.css index 9b7c15f..a659381 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -78,8 +78,36 @@ @layer base { ::file-selector-button { border-color: var(--color-gray-200, currentColor); } + + @keyframes accordion-down { + from { + height: 0; + } + to { + height: var(--radix-accordion-content-height); + } + } + + @keyframes accordion-up { + from { + height: var(--radix-accordion-content-height); + } + to { + height: 0; + } + } } + +@utility animate-accordion-down { + animation: accordion-down 0.2s ease-out; +} + +@utility animate-accordion-up { + animation: accordion-up 0.2s ease-out; +} + + :root { --background: oklch(1 0 0); --foreground: oklch(0.145 0 0);