Skip to content

🎥 Make videos programmatically with React

fix website

Jonny Burger376e940c5443
diff --git a/packages/docs/components/LandingPage/parametrize.module.css b/packages/docs/components/LandingPage/parametrize.module.css
index 6fb9efc38d..98d2b2d7d7 100644
--- a/packages/docs/components/LandingPage/parametrize.module.css
+++ b/packages/docs/components/LandingPage/parametrize.module.css
@@ -21,6 +21,18 @@
text-align: left;
}
+input[type="text"] {
+ padding: 13px;
+ font-family: inherit;
+ border: 2px solid var(--ifm-code-background);
+ border-radius: 6px;
+ background-color: transparent;
+ outline: none;
+}
+input[type="text"]:focus {
+ border-color: var(--ifm-tabs-color-active);
+}
+
.parametrizegradient {
background: linear-gradient(to right, rgb(66, 144, 245), rgb(66, 233, 245));
-webkit-text-fill-color: transparent;
diff --git a/packages/docs/components/LandingPage/parametrize.tsx b/packages/docs/components/LandingPage/parametrize.tsx
index 081cf7993f..5c2f46629b 100644
--- a/packages/docs/components/LandingPage/parametrize.tsx
+++ b/packages/docs/components/LandingPage/parametrize.tsx
@@ -1,4 +1,5 @@
import React, { useEffect, useReducer, useRef, useState } from "react";
+import "../input-fields.css";
import { BlueButton } from "../layout/Button";
import { GithubResponse } from "./GithubDemo";
import styles from "./parametrize.module.css";
diff --git a/packages/docs/components/Player.tsx b/packages/docs/components/Player.tsx
index 12a23badcd..2e581e8e52 100644
--- a/packages/docs/components/Player.tsx
+++ b/packages/docs/components/Player.tsx
@@ -1,7 +1,7 @@
import { Player } from "@remotion/player";
import React, { useState } from "react";
import { Main } from "./ColorDemo/Main";
-import "./player.css";
+import "./input-fields.css";
export const PlayerExample: React.FC = () => {
const [name, setName] = useState("");
diff --git a/packages/docs/components/player.css b/packages/docs/components/input-fields.css
similarity index 100%
rename from packages/docs/components/player.css
rename to packages/docs/components/input-fields.css