All checks were successful
Build and Push Docker Image / build (push) Successful in 3m6s
47 lines
1.3 KiB
JavaScript
47 lines
1.3 KiB
JavaScript
/**@type {import("tailwindcss").Config} */
|
|
module.exports = {
|
|
darkMode: ["variant", [".dark &", '[data-kb-theme="dark"] &']],
|
|
content: ["./src/**/*.{ts,tsx}"],
|
|
theme: {
|
|
container: {
|
|
center: true,
|
|
padding: "2rem",
|
|
screens: {
|
|
"2xl": "1400px"
|
|
}
|
|
},
|
|
extpend: {
|
|
borderRadius: {
|
|
xl: "calc(var(--radius) + 4px)",
|
|
lg: "var(--radius)",
|
|
md: "calc(var(--radius) - 2px)",
|
|
sm: "calc(var(--radius) - 4px)"
|
|
},
|
|
keyframes: {
|
|
"accordion-down": {
|
|
from: { height: 0 },
|
|
to: { height: "var(--kb-accordion-content-height)" }
|
|
},
|
|
"accordion-up": {
|
|
from: { height: "var(--kb-accordion-content-height)" },
|
|
to: { height: 0 }
|
|
},
|
|
"content-show": {
|
|
from: { opacity: 0, transform: "scale(0.96)" },
|
|
to: { opacity: 1, transform: "scale(1)" }
|
|
},
|
|
"content-hide": {
|
|
from: { opacity: 1, transform: "scale(1)" },
|
|
to: { opacity: 0, transform: "scale(0.96)" }
|
|
}
|
|
},
|
|
animation: {
|
|
"accordion-down": "accordion-down 0.2s ease-out",
|
|
"accordion-up": "accordion-up 0.2s ease-out",
|
|
"content-show": "content-show 0.2s ease-out",
|
|
"content-hide": "content-hide 0.2s ease-out"
|
|
}
|
|
}
|
|
},
|
|
plugins: [require("tailwindcss-animate")]
|
|
} |