packages/docs/docs/timeline/setup.mdx
timeline/ folder to your applicationnpm install remotion @remotion/player @remotion/media-utils tailwindcss
This project uses Tailwind CSS V4. Import src/timeline/theme/timeline.css in your global CSS file:
@import './timeline/theme/timeline.css';
You can customize the colors by modifying the values in the @theme block.
Then, set up your tailwind.config.js like this:
import timelinePreset from './timeline/theme/timeline-preset.mjs';
/** @type {import('tailwindcss').Config} */
export default {
presets: [timelinePreset],
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
// Add your custom theme extensions here
},
},
};