tok-to-insta-follower-bridge/tailwind.config.js
2024-12-08 00:05:50 +09:00

57 lines
1.1 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
mode: "jit",
content: ["./src/**/*.tsx"],
plugins: [
require("daisyui")
],
safelist: [
{
pattern: /(badge|border|bg|text|border-b)-(info|warning|secondary|neutral|success)/,
},
{
pattern: /(link)/,
},
{
pattern: /(text-4xl)/,
},
],
daisyui: {
themes: [
{
winter: {
...require("daisyui/src/theming/themes").winter,
primary: "#1D4ED8"
}
},
{
dark: {
...require("daisyui/src/theming/themes").night,
primary: "#1D4ED8"
}
}
],
},
theme: {
extend: {
keyframes: {
drillDown: {
'0%': {
transform: 'translateY(-20px) scale(0.95)',
opacity: '0',
zIndex: '0'
},
'100%': {
transform: 'translateY(0) scale(1)',
opacity: '1',
zIndex: '10'
}
}
},
animation: {
'drill-down': 'drillDown 0.5s ease-in-out forwards'
}
}
}
}