Skip to content

🎥 Make videos programmatically with React

Update fonts

Vlad M2c8b0b42d3cd
diff --git a/packages/template-ai-video/src/components/AIVideo.tsx b/packages/template-ai-video/src/components/AIVideo.tsx
index b7649de9e9..330b7fa4a6 100644
--- a/packages/template-ai-video/src/components/AIVideo.tsx
+++ b/packages/template-ai-video/src/components/AIVideo.tsx
@@ -8,7 +8,7 @@ import {
import { z } from "zod";
import { Timeline } from "../lib/types";
import { IntoFrameDuration, FPS } from "../lib/constants";
-import { loadFont } from "@remotion/google-fonts/Signika";
+import { loadFont } from "@remotion/google-fonts/BreeSerif";
import { Background } from "./Background";
import Subtitle from "./Subtitle";
import { useEffect, useState } from "react";
@@ -89,6 +89,8 @@ export const AIVideo: React.FC<z.infer<typeof aiVideoSchema>> = ({
textTransform: "uppercase",
backgroundColor: "yellow",
paddingTop: 20,
+ paddingBottom: 20,
+ border: "10px solid black",
}}
>
{timeline.shortTitle}
diff --git a/packages/template-ai-video/src/components/Word.tsx b/packages/template-ai-video/src/components/Word.tsx
index 87a44c0698..bc30632b16 100644
--- a/packages/template-ai-video/src/components/Word.tsx
+++ b/packages/template-ai-video/src/components/Word.tsx
@@ -2,7 +2,7 @@ import type React from "react";
import { AbsoluteFill, interpolate, useVideoConfig } from "remotion";
import { fitText } from "@remotion/layout-utils";
import { makeTransform, scale, translateY } from "@remotion/animation-utils";
-import { loadFont } from "@remotion/google-fonts/Rowdies";
+import { loadFont } from "@remotion/google-fonts/BreeSerif";
export const Word: React.FC<{
enterProgress: number;