From 1cb8ae487d24821dc376a29517fca1f181c7ca0f Mon Sep 17 00:00:00 2001 From: Omar Siam Date: Thu, 13 Feb 2025 17:44:31 +0100 Subject: [PATCH] Fix: types --- tailwind.config.ts | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/tailwind.config.ts b/tailwind.config.ts index 8e3d385..03d6906 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -56,29 +56,29 @@ const config = { body: ["var(--font-sans, ui-sans-serif)", "system-ui", "sans-serif"], }, keyframes: { - "accordion-down": { - from: { height: 0 }, - to: { height: "var(--radix-accordion-content-height)" }, - }, - "accordion-up": { - from: { height: "var(--radix-accordion-content-height)" }, - to: { height: 0 }, - }, - "collapsible-down": { - from: { height: 0 }, - to: { height: 'var(--radix-collapsible-content-height)' }, - }, - "collapsible-up": { - from: { height: 'var(--radix-collapsible-content-height)' }, - to: { height: 0 }, - }, - }, - animation: { - "accordion-down": "accordion-down 0.2s ease-out", - "accordion-up": "accordion-up 0.2s ease-out", - "collapsible-down": "collapsible-down 0.2s ease-in-out", - "collapsible-up": "collapsible-up 0.2s ease-in-out", - }, + "accordion-down": { + from: { height: "0" }, + to: { height: "var(--radix-accordion-content-height)" }, + }, + "accordion-up": { + from: { height: "var(--radix-accordion-content-height)" }, + to: { height: "0" }, + }, + "collapsible-down": { + from: { height: "0" }, + to: { height: "var(--radix-collapsible-content-height)" }, + }, + "collapsible-up": { + from: { height: "var(--radix-collapsible-content-height)" }, + to: { height: "0" }, + }, + }, + animation: { + "accordion-down": "accordion-down 0.2s ease-out", + "accordion-up": "accordion-up 0.2s ease-out", + "collapsible-down": "collapsible-down 0.2s ease-in-out", + "collapsible-up": "collapsible-up 0.2s ease-in-out", + }, }, }, } satisfies Config;