Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: update tailwind config file

Dillion Verma037ac2f1d4c7
diff --git a/tailwind.config.js b/tailwind.config.js
index ed1dce46..6a1f87d8 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -53,6 +53,11 @@ module.exports = {
md: `calc(var(--radius) - 2px)`,
sm: "calc(var(--radius) - 4px)",
},
+ animation: {
+ "accordion-down": "accordion-down 0.2s ease-out",
+ "accordion-up": "accordion-up 0.2s ease-out",
+ gradient: "gradient 8s linear infinite",
+ },
keyframes: {
"accordion-down": {
from: { height: 0 },
@@ -62,10 +67,11 @@ module.exports = {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: 0 },
},
- },
- animation: {
- "accordion-down": "accordion-down 0.2s ease-out",
- "accordion-up": "accordion-up 0.2s ease-out",
+ gradient: {
+ to: {
+ backgroundPosition: "var(--bg-size) 0",
+ },
+ },
},
},
},