Skip to content

🎥 Make videos programmatically with React

WIP: New design

Jonny Burger9ff8cd4f45e3
diff --git a/packages/docs/components/LambdaSplash/easy.module.css b/packages/docs/components/LambdaSplash/easy.module.css
index 93363a105e..fc8df1796b 100644
--- a/packages/docs/components/LambdaSplash/easy.module.css
+++ b/packages/docs/components/LambdaSplash/easy.module.css
@@ -11,8 +11,6 @@
.title {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
}
diff --git a/packages/docs/components/LambdaSplash/fast.module.css b/packages/docs/components/LambdaSplash/fast.module.css
index 898c8925e3..e516cf9d67 100644
--- a/packages/docs/components/LambdaSplash/fast.module.css
+++ b/packages/docs/components/LambdaSplash/fast.module.css
@@ -11,8 +11,6 @@
.title {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
}
diff --git a/packages/docs/components/LambdaSplash/lambdaheader.module.css b/packages/docs/components/LambdaSplash/lambdaheader.module.css
index 6e2692f5bf..4edefe8850 100644
--- a/packages/docs/components/LambdaSplash/lambdaheader.module.css
+++ b/packages/docs/components/LambdaSplash/lambdaheader.module.css
@@ -6,17 +6,8 @@
.writeincsstitle {
font-size: 5em;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 700;
line-height: 1;
- -webkit-text-fill-color: transparent;
- background: linear-gradient(
- to right,
- var(--text-color),
- var(--light-text-color)
- );
- -webkit-background-clip: text;
max-width: 500px;
}
diff --git a/packages/docs/components/LambdaSplash/remotionvideoappstitle.module.css b/packages/docs/components/LambdaSplash/remotionvideoappstitle.module.css
index 93ed9f6389..faecd92d40 100644
--- a/packages/docs/components/LambdaSplash/remotionvideoappstitle.module.css
+++ b/packages/docs/components/LambdaSplash/remotionvideoappstitle.module.css
@@ -5,8 +5,6 @@
.title {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
}
diff --git a/packages/docs/components/LambdaSplash/rendertimes.module.css b/packages/docs/components/LambdaSplash/rendertimes.module.css
index 2ca00e8891..3e93cc8c89 100644
--- a/packages/docs/components/LambdaSplash/rendertimes.module.css
+++ b/packages/docs/components/LambdaSplash/rendertimes.module.css
@@ -20,8 +20,6 @@
.stat h1 {
margin-top: 0;
margin-bottom: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 800;
line-height: 1;
font-size: 3em;
diff --git a/packages/docs/components/LandingPage/editor.module.css b/packages/docs/components/LandingPage/editor.module.css
index bb082825e7..51a1ecf74f 100644
--- a/packages/docs/components/LandingPage/editor.module.css
+++ b/packages/docs/components/LandingPage/editor.module.css
@@ -9,8 +9,6 @@
.title {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
text-align: right;
}
diff --git a/packages/docs/components/LandingPage/githubdemo.module.css b/packages/docs/components/LandingPage/githubdemo.module.css
index 93bcfa2c28..35e5608db0 100644
--- a/packages/docs/components/LandingPage/githubdemo.module.css
+++ b/packages/docs/components/LandingPage/githubdemo.module.css
@@ -4,8 +4,6 @@
margin-bottom: 0;
margin-top: 0;
line-height: 1.4;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.githubdemodescription {
@@ -14,7 +12,4 @@
margin-top: 0;
line-height: 1.4;
color: var(--text-color);
-
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
diff --git a/packages/docs/components/LandingPage/ifyouknowreact.module.css b/packages/docs/components/LandingPage/ifyouknowreact.module.css
index c88b89c6b4..8d4c2228ce 100644
--- a/packages/docs/components/LandingPage/ifyouknowreact.module.css
+++ b/packages/docs/components/LandingPage/ifyouknowreact.module.css
@@ -9,8 +9,6 @@
.ifyouknowtitle {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
text-align: right;
}
diff --git a/packages/docs/components/LandingPage/parametrize.module.css b/packages/docs/components/LandingPage/parametrize.module.css
index 6e3200c487..d0f80bbddd 100644
--- a/packages/docs/components/LandingPage/parametrize.module.css
+++ b/packages/docs/components/LandingPage/parametrize.module.css
@@ -15,8 +15,6 @@
.parametrizetitle {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
text-align: left;
}
diff --git a/packages/docs/components/LandingPage/pricing.module.css b/packages/docs/components/LandingPage/pricing.module.css
index 22497ce514..5dce7ea3ca 100644
--- a/packages/docs/components/LandingPage/pricing.module.css
+++ b/packages/docs/components/LandingPage/pricing.module.css
@@ -1,8 +1,6 @@
.pricingtitle {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
}
@@ -28,7 +26,7 @@
text-align: center;
padding-top: 30px;
padding-bottom: 10px;
- min-height: 500px;
+ min-height: 550px;
display: flex;
flex-direction: column;
}
diff --git a/packages/docs/components/LandingPage/realvideos.module.css b/packages/docs/components/LandingPage/realvideos.module.css
index a72900dfcf..43654706dd 100644
--- a/packages/docs/components/LandingPage/realvideos.module.css
+++ b/packages/docs/components/LandingPage/realvideos.module.css
@@ -8,8 +8,6 @@
.realtitle {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
}
diff --git a/packages/docs/components/LandingPage/writeinreact.module.css b/packages/docs/components/LandingPage/writeinreact.module.css
index edec6a3fc4..4a7fa5c446 100644
--- a/packages/docs/components/LandingPage/writeinreact.module.css
+++ b/packages/docs/components/LandingPage/writeinreact.module.css
@@ -4,18 +4,9 @@
}
.writeincsstitle {
- font-size: 5em;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
+ font-size: 4.5em;
font-weight: 700;
line-height: 1;
- -webkit-text-fill-color: transparent;
- background: linear-gradient(
- to right,
- var(--text-color),
- var(--light-text-color)
- );
- -webkit-background-clip: text;
max-width: 500px;
}
diff --git a/packages/docs/components/Player/features.module.css b/packages/docs/components/Player/features.module.css
index 0762efa771..9d5e82f6ef 100644
--- a/packages/docs/components/Player/features.module.css
+++ b/packages/docs/components/Player/features.module.css
@@ -1,8 +1,6 @@
.title {
font-size: 2.5em;
font-weight: 700;
- font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.1;
}
diff --git a/packages/docs/components/Player/landing.module.css b/packages/docs/components/Player/landing.module.css
index c2f79b634e..33bd08f406 100644
--- a/packages/docs/components/Player/landing.module.css
+++ b/packages/docs/components/Player/landing.module.css
@@ -7,17 +7,8 @@
.title {
font-size: 3.5em;
text-align: center;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 700;
line-height: 1.2;
- -webkit-text-fill-color: transparent;
- background: linear-gradient(
- to right,
- var(--text-color),
- var(--light-text-color)
- );
- -webkit-background-clip: text;
max-width: 600px;
}
@media screen and (max-width: 1000px) {
diff --git a/packages/docs/src/css/custom.css b/packages/docs/src/css/custom.css
index fb9b94612c..daedac7ae4 100644
--- a/packages/docs/src/css/custom.css
+++ b/packages/docs/src/css/custom.css
@@ -6,6 +6,29 @@
*/
/* You can override the default Infima variables here. */
+
+@font-face {
+ font-family: 'GTPlanar';
+ src: url('/img/gt-planar-regular.woff2') format('woff2');
+ font-weight: 400;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'GTPlanar';
+ src: url('/img/gt-planar-regular.woff2') format('woff2');
+ font-weight: 500;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'GTPlanar';
+ src: url('/img/gt-planar-bold.woff2') format('woff2');
+ font-weight: 700;
+ font-style: normal;
+}
+
+
:root {
--ifm-color-primary: #0b84f3;
--ifm-color-primary-dark: #0a77db;
@@ -15,6 +38,10 @@
--ifm-color-primary-lighter: #2f96f6;
--ifm-color-primary-lightest: #53a9f7;
--ifm-code-font-size: 95%;
+ --ifm-font-family-base: "GTPlanar", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont,
+'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
+'Segoe UI Emoji', 'Segoe UI Symbol';
+--ifm-font-size-base: 17px;
}
[data-theme="light"] {
diff --git a/packages/docs/src/pages/showcase/header.module.css b/packages/docs/src/pages/showcase/header.module.css
index 7efe94dc33..027b775a51 100644
--- a/packages/docs/src/pages/showcase/header.module.css
+++ b/packages/docs/src/pages/showcase/header.module.css
@@ -1,7 +1,5 @@
.title {
font-size: 3em;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 700;
line-height: 1.2;
}
diff --git a/packages/docs/src/pages/showcase/styles.module.css b/packages/docs/src/pages/showcase/styles.module.css
index 9e8b6d8827..14ea4742ce 100644
--- a/packages/docs/src/pages/showcase/styles.module.css
+++ b/packages/docs/src/pages/showcase/styles.module.css
@@ -18,5 +18,4 @@
width: 100%;
}
-.container * {
-}
+
diff --git a/packages/docs/src/pages/styles.module.css b/packages/docs/src/pages/styles.module.css
index 3118dd165a..e1df11461f 100644
--- a/packages/docs/src/pages/styles.module.css
+++ b/packages/docs/src/pages/styles.module.css
@@ -45,8 +45,6 @@
.snippetsTitle {
font-size: 1.3em;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 700;
line-height: 1.4;
margin-bottom: 20px;
diff --git a/packages/docs/static/img/gt-planar-black.woff2 b/packages/docs/static/img/gt-planar-black.woff2
new file mode 100644
index 0000000000..fcd2cc7dce
Binary files /dev/null and b/packages/docs/static/img/gt-planar-black.woff2 differ
diff --git a/packages/docs/static/img/gt-planar-bold.woff2 b/packages/docs/static/img/gt-planar-bold.woff2
new file mode 100644
index 0000000000..9bd36298f0
Binary files /dev/null and b/packages/docs/static/img/gt-planar-bold.woff2 differ
diff --git a/packages/docs/static/img/gt-planar-light.woff2 b/packages/docs/static/img/gt-planar-light.woff2
new file mode 100644
index 0000000000..534b1200c6
Binary files /dev/null and b/packages/docs/static/img/gt-planar-light.woff2 differ
diff --git a/packages/docs/static/img/gt-planar-medium.woff2 b/packages/docs/static/img/gt-planar-medium.woff2
new file mode 100644
index 0000000000..8c0c42b12a
Binary files /dev/null and b/packages/docs/static/img/gt-planar-medium.woff2 differ
diff --git a/packages/docs/static/img/gt-planar-regular.woff2 b/packages/docs/static/img/gt-planar-regular.woff2
new file mode 100644
index 0000000000..9899679295
Binary files /dev/null and b/packages/docs/static/img/gt-planar-regular.woff2 differ