Skip to content

🎥 Make videos programmatically with React

update templates

Jonny Burger37d1dfb5fb68
diff --git a/packages/create-video/src/templates.tsx b/packages/create-video/src/templates.tsx
index c8711103af..fa1678cbd1 100644
--- a/packages/create-video/src/templates.tsx
+++ b/packages/create-video/src/templates.tsx
@@ -41,9 +41,11 @@ export type Template = {
defaultBranch: string;
} & DynamicTemplate;
+const ENABLE_NEXT = false;
+
export const FEATURED_TEMPLATES: Template[] = [
{
- homePageLabel: 'TypeScript',
+ homePageLabel: 'Hello World',
shortName: 'Hello World',
org: 'remotion-dev',
repoName: 'template-helloworld',
@@ -59,25 +61,26 @@ export const FEATURED_TEMPLATES: Template[] = [
type: 'video',
defaultBranch: 'main',
},
-
- {
- homePageLabel: 'Next.js',
- shortName: 'Next.js',
- org: 'remotion-dev',
- repoName: 'template-next',
- description: 'SaaS template for video generation apps',
- longerDescription:
- 'A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Our recommended choice for people who want to build a video generation app.',
- promoBanner: {
- width: 1280,
- height: 720,
- // TODO: Update this image
- src: '/img/remix-template.png',
- },
- cliId: 'next',
- type: 'image',
- defaultBranch: 'main',
- },
+ ENABLE_NEXT
+ ? {
+ homePageLabel: 'Next.js',
+ shortName: 'Next.js',
+ org: 'remotion-dev',
+ repoName: 'template-next',
+ description: 'SaaS template for video generation apps',
+ longerDescription:
+ 'A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Our recommended choice for people who want to build a video generation app.',
+ promoBanner: {
+ width: 1280,
+ height: 720,
+ // TODO: Update this image
+ src: '/img/remix-template.png',
+ },
+ cliId: 'next',
+ type: 'image',
+ defaultBranch: 'main',
+ }
+ : null,
{
homePageLabel: 'Blank',
shortName: 'Blank',
@@ -253,4 +256,4 @@ export const FEATURED_TEMPLATES: Template[] = [
type: 'video',
defaultBranch: 'main',
},
-];
+].filter(Boolean);
diff --git a/packages/docs/components/LandingPage/WriteInReact.tsx b/packages/docs/components/LandingPage/WriteInReact.tsx
index ca6b68ff72..eade2681f9 100644
--- a/packages/docs/components/LandingPage/WriteInReact.tsx
+++ b/packages/docs/components/LandingPage/WriteInReact.tsx
@@ -24,6 +24,7 @@ export const WriteInReact: React.FC = () => {
<GetStarted />
</div>
<br />
+ <br />
<div>
<ChooseTemplate />
</div>
diff --git a/packages/docs/src/components/ArrowRight.tsx b/packages/docs/src/components/ArrowRight.tsx
index bb2768ff46..32c1609605 100644
--- a/packages/docs/src/components/ArrowRight.tsx
+++ b/packages/docs/src/components/ArrowRight.tsx
@@ -1,49 +1,39 @@
+import Link from "@docusaurus/Link";
import React from "react";
+import { useMobileLayout } from "../helpers/mobile-layout";
const commonStyle: React.CSSProperties = {
height: 40,
- width: 40,
borderRadius: 20,
- boxShadow: "0 0 6px rgba(0, 0, 0, 0.2)",
- position: "absolute",
- backgroundColor: "white",
- top: 24,
- color: "var(--light-text-color)",
+ backgroundColor: "var(--blue-underlay)",
+ color: "var(--blue-button-color)",
+ fontWeight: "bold",
justifyContent: "center",
alignItems: "center",
display: "flex",
cursor: "pointer",
- transition: `transform 0.3s`,
+ padding: 16,
+ fontSize: 14,
+ marginLeft: 10,
};
const rightStyle: React.CSSProperties = {
...commonStyle,
right: 0,
-};
-
-const leftStyle: React.CSSProperties = {
- ...commonStyle,
- left: 0,
+ textDecoration: "none",
};
const icon: React.CSSProperties = {
- height: 22,
+ height: 16,
+ marginLeft: 10,
};
-export const NavigateRight: React.FC<{
- onClick: () => void;
- visible: boolean;
-}> = ({ onClick, visible }) => {
+export const MoreTemplatesButton: React.FC = () => {
+ const mobileLayout = useMobileLayout();
+
return (
- <a
- style={{
- ...rightStyle,
- transform: `scale(
- ${Number(visible)}
- )`,
- }}
- onClick={onClick}
- >
+ <Link to={"/templates"} style={rightStyle}>
+ {mobileLayout ? "Find a template" : "More templates"}
<svg
style={icon}
xmlns="http://www.w3.org/2000/svg"
@@ -54,34 +44,6 @@ export const NavigateRight: React.FC<{
d="M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
/>
</svg>
- </a>
- );
-};
-
-export const NavigateLeft: React.FC<{
- onClick: () => void;
- visible: boolean;
-}> = ({ onClick, visible }) => {
- return (
- <a
- style={{
- ...leftStyle,
- transform: `scale(
- ${Number(visible)}
- )`,
- }}
- onClick={onClick}
- >
- <svg
- style={icon}
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 448 512"
- >
- <path
- fill="currentColor"
- d="M447.1 256C447.1 273.7 433.7 288 416 288H109.3l105.4 105.4c12.5 12.5 12.5 32.75 0 45.25C208.4 444.9 200.2 448 192 448s-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L109.3 224H416C433.7 224 447.1 238.3 447.1 256z"
- />
- </svg>{" "}
- </a>
+ </Link>
);
};
diff --git a/packages/docs/src/components/ChooseTemplate.tsx b/packages/docs/src/components/ChooseTemplate.tsx
index 3a90ad6479..8aec48164a 100644
--- a/packages/docs/src/components/ChooseTemplate.tsx
+++ b/packages/docs/src/components/ChooseTemplate.tsx
@@ -1,54 +1,12 @@
import Link from "@docusaurus/Link";
import { CreateVideoInternals } from "create-video";
-import React, { useCallback, useEffect, useRef, useState } from "react";
+import React from "react";
-import { chunk } from "../helpers/chunk";
-import { NavigateLeft, NavigateRight } from "./ArrowRight";
+import { MoreTemplatesButton } from "./ArrowRight";
import { IconForTemplate } from "./IconForTemplate";
import { TemplateIcon } from "./TemplateIcon";
export const ChooseTemplate: React.FC = () => {
- const mobileLayout = true;
-
- const [rightVisible, setRightVisible] = useState(true);
- const [leftVisible, setLeftVisible] = useState(false);
-
- const chunks = chunk(CreateVideoInternals.FEATURED_TEMPLATES, 4);
-
- const scrollable = useRef<HTMLDivElement>(null);
- const inner = useRef<HTMLDivElement>(null);
-
- const onClickRight = useCallback(() => {
- scrollable.current.scrollTo({
- left: 1900,
- });
- }, []);
-
- const onClickLeft = useCallback(() => {
- scrollable.current.scrollTo({
- left: 0,
- });
- }, []);
-
- useEffect(() => {
- const listener = (e: Event) => {
- const scrollLeft = (e.target as HTMLDivElement).scrollLeft as number;
- const { width } = (e.target as HTMLDivElement).getClientRects()[0];
- const { width: innerWidth } = inner.current.getClientRects()[0];
- const fromRight = width - innerWidth - scrollLeft;
- setRightVisible(fromRight > 40);
- setLeftVisible(scrollLeft > 20);
- };
-
- const { current } = scrollable;
-
- current.addEventListener("scroll", listener);
-
- return () => {
- current.removeEventListener("scroll", listener);
- };
- }, []);
-
return (
<div
style={{
@@ -59,54 +17,37 @@ export const ChooseTemplate: React.FC = () => {
<div
style={{
position: "relative",
+ textAlign: "center",
}}
>
<div
- ref={scrollable}
className="no-scroll-bar"
style={{
- display: "flex",
+ backgroundColor: "var(--background)",
+ display: "inline-flex",
flexDirection: "row",
- justifyContent: mobileLayout ? "flex-start" : "center",
- maxWidth: "100%",
- overflowX: "auto",
- scrollBehavior: "smooth",
+ justifyContent: "center",
+ boxShadow: "0 0 4px 0px var(--ifm-color-emphasis-200)",
+ borderRadius: 50,
+ alignItems: "center",
+ padding: 12,
+ paddingLeft: 24,
+ paddingRight: 24,
}}
>
- {chunks.map((c) => {
- return (
- <div
- ref={inner}
- key={c.map((_) => _.cliId).join("-")}
- style={{
- display: "flex",
- flexDirection: "row",
- marginBottom: mobileLayout ? 8 : 0,
- marginTop: mobileLayout ? 8 : 0,
- }}
- >
- {c.map((template) => {
- return (
- <Link
- key={template.cliId}
- to={`/templates/${template.cliId}`}
- >
- <TemplateIcon label={template.homePageLabel}>
- <IconForTemplate scale={1} template={template} />
- </TemplateIcon>
- </Link>
- );
- })}
- </div>
- );
- })}
+ {CreateVideoInternals.FEATURED_TEMPLATES.slice(0, 4).map(
+ (template) => {
+ return (
+ <Link key={template.cliId} to={`/templates/${template.cliId}`}>
+ <TemplateIcon label={template.homePageLabel}>
+ <IconForTemplate scale={0.7} template={template} />
+ </TemplateIcon>
+ </Link>
+ );
+ }
+ )}
+ <MoreTemplatesButton />
</div>
- {mobileLayout ? (
- <NavigateLeft visible={leftVisible} onClick={onClickLeft} />
- ) : null}
- {mobileLayout ? (
- <NavigateRight visible={rightVisible} onClick={onClickRight} />
- ) : null}
</div>
</div>
);
diff --git a/packages/docs/src/components/IconForTemplate.tsx b/packages/docs/src/components/IconForTemplate.tsx
index b62675bffe..482652fb2d 100644
--- a/packages/docs/src/components/IconForTemplate.tsx
+++ b/packages/docs/src/components/IconForTemplate.tsx
@@ -17,7 +17,7 @@ export const IconForTemplate: React.FC<{
template: Template;
scale: number;
}> = ({ template, scale = 1 }) => {
- if (template.homePageLabel === "TypeScript") {
+ if (template.cliId === "hello-world") {
return (
<TypeScriptIcon
style={{
@@ -27,7 +27,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "Blank") {
+ if (template.cliId === "blank") {
return (
<Blank
style={{
@@ -37,7 +37,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "JavaScript") {
+ if (template.cliId === "javascript") {
return (
<JSIcon
style={{
@@ -47,7 +47,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "3D") {
+ if (template.cliId === "three") {
return (
<Cubes
style={{
@@ -57,7 +57,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "Stills") {
+ if (template.cliId === "still") {
return (
<StillIcon
style={{
@@ -67,7 +67,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "Audiogram") {
+ if (template.cliId === "audiogram") {
return (
<Waveform
style={{
@@ -77,7 +77,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "Text-To-Speech") {
+ if (template.cliId === "tts") {
return (
<TTSIcon
style={{
@@ -87,7 +87,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "Tailwind") {
+ if (template.cliId === "tailwind") {
return (
<Tailwind
style={{
@@ -97,7 +97,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "Skia") {
+ if (template.cliId === "skia") {
return (
<SkiaIcon
style={{
@@ -107,7 +107,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "Remix") {
+ if (template.cliId === "remix") {
return (
<RemixIcon
style={{
@@ -117,7 +117,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.homePageLabel === "Overlay") {
+ if (template.cliId === "overlay") {
return <OverlayIcon style={{ height: scale * 42 }} />;
}
diff --git a/packages/docs/src/components/TemplateIcon.tsx b/packages/docs/src/components/TemplateIcon.tsx
index afa8aa7161..e9d2afeff1 100644
--- a/packages/docs/src/components/TemplateIcon.tsx
+++ b/packages/docs/src/components/TemplateIcon.tsx
@@ -1,20 +1,10 @@
-import React from "react";
-
-const outer: React.CSSProperties = {
- width: 90,
- textAlign: "center",
- display: "flex",
- alignItems: "center",
- flexDirection: "column",
- color: "var(--light-text-color)",
- cursor: "pointer",
- filter: "drop-shadow(0px 0px 4px var(--background))",
-};
+import React, { useMemo } from "react";
+import { useMobileLayout } from "../helpers/mobile-layout";
const icon: React.CSSProperties = {
display: "flex",
- width: 50,
- height: 50,
+ width: 36,
+ height: 36,
justifyContent: "center",
alignItems: "center",
margin: 0,
@@ -28,10 +18,25 @@ export const TemplateIcon: React.FC<{
label: string;
children: React.ReactNode;
}> = ({ children, label }) => {
+ const mobileLayout = useMobileLayout();
+
+ const outer: React.CSSProperties = useMemo(() => {
+ return {
+ width: mobileLayout ? 50 : 90,
+ textAlign: "center",
+ display: "flex",
+ alignItems: "center",
+ flexDirection: "column",
+ color: "var(--ifm-font-color-base)",
+ cursor: "pointer",
+ filter: "drop-shadow(0px 0px 4px var(--background))",
+ };
+ }, [mobileLayout]);
+
return (
<a style={outer}>
<div style={icon}>{children}</div>
- <div style={labelStyle}>{label}</div>
+ {mobileLayout ? null : <div style={labelStyle}>{label}</div>}
</a>
);
};
diff --git a/packages/docs/src/components/TemplateModalContent.tsx b/packages/docs/src/components/TemplateModalContent.tsx
index acbc2502f5..92340d650e 100644
--- a/packages/docs/src/components/TemplateModalContent.tsx
+++ b/packages/docs/src/components/TemplateModalContent.tsx
@@ -6,12 +6,10 @@ import { CommandCopyButton } from "./CommandCopyButton";
import { MuxVideo } from "./MuxVideo";
import { Spinner } from "./Spinner";
-const RESERVED_FOR_SIDEBAR = 500;
+const RESERVED_FOR_SIDEBAR = 550;
const column: React.CSSProperties = {
width: RESERVED_FOR_SIDEBAR,
- paddingLeft: 16,
- paddingRight: 16,
overflow: "auto",
};
@@ -217,6 +215,8 @@ export const TemplateModalContent: React.FC<{
<div
style={{
...column,
+ marginLeft: mobileLayout ? 0 : 20,
+ marginTop: mobileLayout ? 20 : 0,
width: mobileLayout ? "100%" : RESERVED_FOR_SIDEBAR,
}}
>
diff --git a/packages/docs/src/components/icons/tailwind.tsx b/packages/docs/src/components/icons/tailwind.tsx
index 23de849b14..1b95d8c298 100644
--- a/packages/docs/src/components/icons/tailwind.tsx
+++ b/packages/docs/src/components/icons/tailwind.tsx
@@ -4,8 +4,6 @@ import React from "react";
export const Tailwind: React.FC<SVGProps<SVGSVGElement>> = (props) => {
return (
<svg
- width="51"
- height="31"
viewBox="0 0 51 31"
fill="none"
xmlns="http://www.w3.org/2000/svg"
diff --git a/packages/docs/src/pages/templates/index.tsx b/packages/docs/src/pages/templates/index.tsx
index 121464b4ec..e170c39aee 100644
--- a/packages/docs/src/pages/templates/index.tsx
+++ b/packages/docs/src/pages/templates/index.tsx
@@ -1,8 +1,11 @@
+import Head from "@docusaurus/Head";
import Link from "@docusaurus/Link";
+import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import { CreateVideoInternals } from "create-video";
import React from "react";
import { IconForTemplate } from "../../components/IconForTemplate";
+import { Seo } from "../../components/Seo";
import styles from "./styles.module.css";
const content: React.CSSProperties = {
@@ -22,8 +25,18 @@ const lowerpara: React.CSSProperties = {
};
export default () => {
+ const imgSrc = `/generated/template-all.png`;
+ const context = useDocusaurusContext();
+
return (
<Layout>
+ <Head>
+ {Seo.renderTitle(`Starter Templates | Remotion`)}
+ {Seo.renderDescription(
+ "Jumpstart your Remotion project with a template."
+ )}
+ {Seo.renderImage(imgSrc, context.siteConfig.url)}
+ </Head>
<div style={content}>
<h1 className={styles.title}>
Find the right
diff --git a/packages/docs/src/pages/templates/styles.module.css b/packages/docs/src/pages/templates/styles.module.css
index f6537aa16d..975e30bf22 100644
--- a/packages/docs/src/pages/templates/styles.module.css
+++ b/packages/docs/src/pages/templates/styles.module.css
@@ -24,3 +24,19 @@
border: 1px solid var(--ifm-color-emphasis-300);
padding: 14px;
}
+.item:hover {
+ border: 1px solid var(--ifm-color-emphasis-500);
+}
+
+
+@media (max-width: 1000px) {
+ .grid {
+ grid-template-columns: 1fr 1fr;
+ }
+}
+
+@media (max-width: 600px) {
+ .grid {
+ grid-template-columns: 1fr;
+ }
+}
diff --git a/packages/docs/src/remotion/AllTemplates.tsx b/packages/docs/src/remotion/AllTemplates.tsx
new file mode 100644
index 0000000000..6d3c866ed0
--- /dev/null
+++ b/packages/docs/src/remotion/AllTemplates.tsx
@@ -0,0 +1,133 @@
+import { CreateVideoInternals } from "create-video";
+import React from "react";
+import { AbsoluteFill, Img } from "remotion";
+import { IconForTemplate } from "../components/IconForTemplate";
+import "./font.css";
+
+export const AllTemplates: React.FC<{
+ templateId: string;
+}> = ({ templateId }) => {
+ return (
+ <AbsoluteFill
+ style={{
+ height: "100%",
+ width: "100%",
+ display: "flex",
+ backgroundColor: "#fff",
+ fontSize: 32,
+ fontWeight: 700,
+ justifyContent: "center",
+ alignItems: "center",
+ padding: 60,
+ fontFamily: "GTPlanar",
+ }}
+ >
+ <div>
+ <AbsoluteFill>
+ <div
+ style={{
+ display: "flex",
+ flex: 1,
+ flexDirection: "row",
+ }}
+ >
+ <div
+ style={{
+ backgroundColor: "#0B84F3",
+ display: "flex",
+ padding: 50,
+ minWidth: 400,
+ color: "white",
+ fontFamily: "GTPlanar",
+ fontSize: 56,
+ alignItems: "center",
+ }}
+ >
+ Starter Templates
+ </div>
+ <div
+ style={{
+ flex: 1,
+ justifyContent: "center",
+ alignItems: "center",
+ display: "flex",
+ }}
+ >
+ <div
+ style={{
+ padding: 50,
+ color: "#444",
+ fontFamily: "GTPlanar",
+ fontSize: 50,
+ display: "grid",
+ gridTemplateColumns: "repeat(6, 1fr)",
+ }}
+ >
+ {CreateVideoInternals.FEATURED_TEMPLATES.map((template) => (
+ <div
+ key={template.cliId}
+ style={{
+ height: 80,
+ width: 80,
+ margin: 20,
+ justifyContent: "center",
+ alignItems: "center",
+ display: "flex",
+ }}
+ >
+ <IconForTemplate scale={1.6} template={template} />
+ </div>
+ ))}
+ </div>
+ </div>
+ </div>
+ <div
+ style={{
+ display: "flex",
+ flexDirection: "row",
+ alignItems: "center",
+ height: 120,
+ backgroundColor: "#222",
+ paddingRight: 40,
+ }}
+ >
+ <div
+ style={{
+ flex: 1,
+ fontFamily: "GTPlanar",
+ color: "white",
+ height: "100%",
+ display: "flex",
+ alignItems: "center",
+ paddingLeft: 40,
+ fontWeight: 300,
+ fontSize: 20,
+ marginRight: 200,
+ }}
+ >
+ <div>
+ <div style={{}}>Create videos</div>
+ <div style={{}}>programmatically</div>
+ </div>
+ </div>
+ <div
+ style={{
+ height: "100%",
+ display: "flex",
+ justifyContent: "center",
+ alignItems: "center",
+ }}
+ >
+ <Img
+ style={{
+ height: 60,
+ }}
+ src="https://www.remotion.dev/img/remotion-white.png"
+ />
+ </div>
+ </div>
+ </AbsoluteFill>
+ </div>
+ </AbsoluteFill>
+ );
+};
diff --git a/packages/docs/src/remotion/Root.tsx b/packages/docs/src/remotion/Root.tsx
index d9cecbe8a1..bac8077ab9 100644
--- a/packages/docs/src/remotion/Root.tsx
+++ b/packages/docs/src/remotion/Root.tsx
@@ -3,6 +3,7 @@ import React from "react";
import { Folder, Still } from "remotion";
import { articles } from "../data/articles";
import { experts } from "../data/experts";
+import { AllTemplates } from "./AllTemplates";
import { Article } from "./Article";
import { Expert } from "./Expert";
import { TemplateComp } from "./Template";
@@ -58,6 +59,12 @@ export const RemotionRoot: React.FC = () => {
);
})}
</Folder>
+ <Still
+ component={AllTemplates}
+ width={1200}
+ height={630}
+ id="template-all"
+ />
</>
);
};
diff --git a/packages/docs/src/remotion/Template.tsx b/packages/docs/src/remotion/Template.tsx
index 619c27d3c5..9548311758 100644
--- a/packages/docs/src/remotion/Template.tsx
+++ b/packages/docs/src/remotion/Template.tsx
@@ -1,6 +1,7 @@
import { CreateVideoInternals } from "create-video";
import React from "react";
import { AbsoluteFill, Img } from "remotion";
+import { IconForTemplate } from "../components/IconForTemplate";
import "./font.css";
export const TemplateComp: React.FC<{
@@ -42,7 +43,7 @@ export const TemplateComp: React.FC<{
backgroundColor: "white",
}}
>
- Jumpstart your Remotion Project
+ Starter Template
</div>
</div>
@@ -60,17 +61,20 @@ export const TemplateComp: React.FC<{
padding: 50,
minWidth: 500,
width: "100%",
+ color: "white",
+ fontFamily: "GTPlanar",
+ fontSize: 50,
+ alignItems: "center",
}}
>
+ <IconForTemplate scale={1.6} template={template} />{" "}
<div
style={{
- color: "white",
- fontFamily: "GTPlanar",
- fontSize: 80,
+ width: 25,
+ display: "inline-block",
}}
- >
- {template.shortName} Template
- </div>
+ />
+ {template.shortName}
</div>
</div>
@@ -98,7 +102,10 @@ export const TemplateComp: React.FC<{
marginRight: 200,
}}
>
- npx create-video --template {template.cliId}
+ <div>
+ <div style={{ opacity: 0.7 }}>Install this template</div>
+ <div>npx create-video --template {template.cliId}</div>
+ </div>
</div>
<div
style={{
diff --git a/packages/docs/src/remotion/font.css b/packages/docs/src/remotion/font.css
index 79e4aa72ab..2318387433 100644
--- a/packages/docs/src/remotion/font.css
+++ b/packages/docs/src/remotion/font.css
@@ -4,3 +4,7 @@
font-weight: 900;
font-style: normal;
}
+
+:root {
+ --background: white;
+}
diff --git a/packages/docs/static/generated/template-all.png b/packages/docs/static/generated/template-all.png
new file mode 100644
index 0000000000..416bb7d778
Binary files /dev/null and b/packages/docs/static/generated/template-all.png differ
diff --git a/packages/docs/static/generated/template-audiogram.png b/packages/docs/static/generated/template-audiogram.png
index 52324f8e58..0776e0d6f5 100644
Binary files a/packages/docs/static/generated/template-audiogram.png and b/packages/docs/static/generated/template-audiogram.png differ
diff --git a/packages/docs/static/generated/template-blank.png b/packages/docs/static/generated/template-blank.png
index 01d91500ac..66b7be3f36 100644
Binary files a/packages/docs/static/generated/template-blank.png and b/packages/docs/static/generated/template-blank.png differ
diff --git a/packages/docs/static/generated/template-hello-world.png b/packages/docs/static/generated/template-hello-world.png
index 2169b86aad..3d779f30e2 100644
Binary files a/packages/docs/static/generated/template-hello-world.png and b/packages/docs/static/generated/template-hello-world.png differ
diff --git a/packages/docs/static/generated/template-javascript.png b/packages/docs/static/generated/template-javascript.png
index 8b12de31e6..137cdef102 100644
Binary files a/packages/docs/static/generated/template-javascript.png and b/packages/docs/static/generated/template-javascript.png differ
diff --git a/packages/docs/static/generated/template-next.png b/packages/docs/static/generated/template-next.png
deleted file mode 100644
index 79db5cc9d6..0000000000
Binary files a/packages/docs/static/generated/template-next.png and /dev/null differ
diff --git a/packages/docs/static/generated/template-overlay.png b/packages/docs/static/generated/template-overlay.png
index 0e7725b5ec..0062300d8c 100644
Binary files a/packages/docs/static/generated/template-overlay.png and b/packages/docs/static/generated/template-overlay.png differ
diff --git a/packages/docs/static/generated/template-remix.png b/packages/docs/static/generated/template-remix.png
index cf1110af62..50a3704902 100644
Binary files a/packages/docs/static/generated/template-remix.png and b/packages/docs/static/generated/template-remix.png differ
diff --git a/packages/docs/static/generated/template-skia.png b/packages/docs/static/generated/template-skia.png
index 0e26549335..ee6444e44f 100644
Binary files a/packages/docs/static/generated/template-skia.png and b/packages/docs/static/generated/template-skia.png differ
diff --git a/packages/docs/static/generated/template-still.png b/packages/docs/static/generated/template-still.png
index e7e0bf1cd3..0a99bc007c 100644
Binary files a/packages/docs/static/generated/template-still.png and b/packages/docs/static/generated/template-still.png differ
diff --git a/packages/docs/static/generated/template-tailwind.png b/packages/docs/static/generated/template-tailwind.png
index a2937b570a..b6ab4fcfd8 100644
Binary files a/packages/docs/static/generated/template-tailwind.png and b/packages/docs/static/generated/template-tailwind.png differ
diff --git a/packages/docs/static/generated/template-three.png b/packages/docs/static/generated/template-three.png
index 33ac2057bb..0523d5a453 100644
Binary files a/packages/docs/static/generated/template-three.png and b/packages/docs/static/generated/template-three.png differ
diff --git a/packages/docs/static/generated/template-tts.png b/packages/docs/static/generated/template-tts.png
index 4907a56d82..5a506da0f7 100644
Binary files a/packages/docs/static/generated/template-tts.png and b/packages/docs/static/generated/template-tts.png differ