🎥 Make videos programmatically with React
deprecate tailwind template
Jonny Burger2a84fae16823
diff --git a/packages/create-video/src/templates.tsx b/packages/create-video/src/templates.tsxindex 19ad447e17..9b15b70e7c 100644--- a/packages/create-video/src/templates.tsx+++ b/packages/create-video/src/templates.tsx@@ -39,7 +39,6 @@ export type Template = {| 'google-tts'| 'audiogram'| 'skia'- | 'tailwind'| 'overlay'| 'stargazer'| 'tiktok'@@ -332,27 +331,6 @@ export const FEATURED_TEMPLATES: Template[] = [templateInMonorepo: 'template-skia',allowEnableTailwind: false,},- {- homePageLabel: 'Tailwind',- shortName: 'Tailwind',- org: 'remotion-dev',- repoName: 'template-tailwind',- description: 'TypeScript and Tailwind starter',- longerDescription:- 'A starter template with TypeScript and Tailwind already set up.',- promoVideo: {- muxId: 'OAe00WUpvsAyqAVSd4gehDCeWI81cI024RhTs9l2eB48w',- height: 720,- width: 1280,- },- cliId: 'tailwind' as const,- type: 'video' as const,- defaultBranch: 'main',- featuredOnHomePage: null,- previewURL: 'https://template-tailwind-remotion.vercel.app/?/MyComp',- templateInMonorepo: null,- allowEnableTailwind: false,- },{homePageLabel: 'Overlay',shortName: 'Overlay',diff --git a/packages/docs/docs/resources.mdx b/packages/docs/docs/resources.mdxindex 5f71c0c0e8..8331093313 100644--- a/packages/docs/docs/resources.mdx+++ b/packages/docs/docs/resources.mdx@@ -1,7 +1,7 @@---image: /generated/articles-docs-resources.pngtitle: List of resources-crumb: "Ecosystem"+crumb: 'Ecosystem'---This list tries to compile all templates, libraries, building blocks and examples in one place. Add more to the list by clicking the "Improve this page" button below!@@ -17,10 +17,9 @@ This list tries to compile all templates, libraries, building blocks and example- Text-to-Speech Template (Google) ([Source code](https://github.com/thecmdrunner/remotion-gtts-template))- Audiogram ([Source code](https://github.com/remotion-dev/template-audiogram))- Skia ([Source code](https://github.com/remotion-dev/template-skia))-- Tailwind ([Source code](https://github.com/remotion-dev/template-tailwind), [Preview](https://template-tailwind-remotion.vercel.app/))- [Hello World Template with pull request video previews](https://github.com/stoat-dev/example-remotion)- [Library starter template with best practices](https://github.com/remotion-dev/library-starter)-- Video Editor & Timeline Component (Next.js, Tailwind CSS) ([Source Code](https://github.com/sambowenhughes/a-react-video-editor), [Preview](https://www.reactvideoeditor.com/open-source))+- Video Editor & Timeline Component (Next.js, Tailwind CSS) ([Source Code](https://github.com/sambowenhughes/a-react-video-editor), [Preview](https://www.reactvideoeditor.com/open-source))## SaaS starter Kitsdiff --git a/packages/docs/docs/tailwind/overview.mdx b/packages/docs/docs/tailwind/overview.mdxindex fde398377a..f78929cd64 100644--- a/packages/docs/docs/tailwind/overview.mdx+++ b/packages/docs/docs/tailwind/overview.mdx@@ -2,7 +2,7 @@image: /generated/articles-docs-tailwind-overview.pngid: tailwindsidebar_label: Overview-title: "@remotion/tailwind"+title: '@remotion/tailwind'---import Tabs from '@theme/Tabs';@@ -15,15 +15,15 @@ This package provides utilities useful for integrating [TailwindCSS](https://taiInstall `@remotion/tailwind` as well as TailwindCSS dependencies.-<Installation pkg="@remotion/tailwind"/>+<Installation pkg="@remotion/tailwind" />-<br/>+<br />[Override the Webpack config](/docs/webpack) by using [`enableTailwind()`](/docs/tailwind/enable-tailwind).```ts twoslash title="remotion.config.ts"-import { Config } from "@remotion/cli/config";-import { enableTailwind } from "@remotion/tailwind";+import {Config} from '@remotion/cli/config';+import {enableTailwind} from '@remotion/tailwind';Config.overrideWebpackConfig((currentConfiguration) => {return enableTailwind(currentConfiguration);@@ -32,51 +32,6 @@ Config.overrideWebpackConfig((currentConfiguration) => {Then follow the remaining set up steps from the [TailwindCSS](/docs/tailwind) page.-## Templates--You can find the [starter template](https://github.com/remotion-dev/template-tailwind) here or install it using:--<Tabs-defaultValue="npm"-values={[-{ label: 'npm', value: 'npm', },-{ label: 'yarn', value: 'yarn', },-{ label: 'pnpm', value: 'pnpm', },-{ label: 'bun', value: 'bun', },-]-}>-<TabItem value="npm">--```bash-npx create-video --tailwind-```-- </TabItem>-- <TabItem value="yarn">--```bash-yarn create video --tailwind-```-- </TabItem>- <TabItem value="bun">--```bash-bun create video --tailwind-```-- </TabItem>- <TabItem value="pnpm">--```bash-pnpm create video --tailwind-```-- </TabItem>--</Tabs>-## APIs- [`enableTailwind()`](/docs/tailwind/enable-tailwind)diff --git a/packages/docs/src/components/IconForTemplate.tsx b/packages/docs/src/components/IconForTemplate.tsxindex 7d3e6f58c0..13268b76e7 100644--- a/packages/docs/src/components/IconForTemplate.tsx+++ b/packages/docs/src/components/IconForTemplate.tsx@@ -10,7 +10,6 @@ import {RemixIcon} from './icons/remix';import {SkiaIcon} from './icons/skia';import {Stargazer} from './icons/stargazer';import {StillIcon} from './icons/still';-import {Tailwind} from './icons/tailwind';import {TikTok} from './icons/tiktok';import {TypeScriptIcon} from './icons/ts';import {TTSIcon} from './icons/tts';@@ -101,16 +100,6 @@ export const IconForTemplate: React.FC<{);}- if (template.cliId === 'tailwind') {- return (- <Tailwind- style={{- height: scale * 36,- }}- />- );- }-if (template.cliId === 'skia') {return (<SkiaIcon