Files
www_projectmycelium_com/tailwind.config.js
sasha-astiadi 61cbaae7e0 refactor: simplify infinite-moving-cards and redesign agents page layout
- Removed getDirection callback in favor of inline style calculation for cleaner animation control
- Replaced BentoSection and AgentComponents with unified AgentBento component featuring video backgrounds and updated card structure
- Standardized border styling across CallToAction components (gray-700 → gray-800) for consistent visual hierarchy
2025-11-07 23:56:54 +01:00

48 lines
1.4 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
sans: ['Mulish', 'system-ui', 'Avenir', 'Helvetica', 'Arial', 'sans-serif'],
},
keyframes: {
scroll: {
to: {
transform: "translate(calc(-100% - var(--gap)))",
},
},
logoScroll: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' },
},
'glitch-1': {
'0%': { transform: 'none' },
'25%': { transform: 'skew(-0.5deg, -0.5deg)' },
'50%': { transform: 'none' },
'75%': { transform: 'skew(0.5deg, 0.5deg)' },
'100%': { transform: 'none' },
},
'glitch-2': {
'0%': { transform: 'none' },
'25%': { transform: 'skew(-0.5deg, -0.5deg)' },
'50%': { transform: 'none' },
'75%': { transform: 'skew(0.5deg, 0.5deg)' },
'100%': { transform: 'none' },
},
},
animation: {
scroll:
"scroll var(--animation-duration, 40s) var(--animation-direction, forwards) linear infinite",
logoScroll: 'logoScroll 16s linear infinite',
'glitch-1': 'glitch-1 1s infinite',
'glitch-2': 'glitch-2 1s infinite',
},
},
},
plugins: [],
}