Skip to content

🎥 Make videos programmatically with React

update font

Jonny Burger3287827afea2
diff --git a/packages/docs/components/LambdaSplash/VideoApps.tsx b/packages/docs/components/LambdaSplash/VideoApps.tsx
index 497489e542..991363439d 100644
--- a/packages/docs/components/LambdaSplash/VideoApps.tsx
+++ b/packages/docs/components/LambdaSplash/VideoApps.tsx
@@ -43,7 +43,6 @@ const list: React.CSSProperties = {
display: "flex",
flexDirection: "column",
alignItems: "center",
- fontWeight: 500,
};
const hr: React.CSSProperties = {
diff --git a/packages/docs/components/LandingPage/WriteInReact.tsx b/packages/docs/components/LandingPage/WriteInReact.tsx
index afe6ad0388..e2998f01b6 100644
--- a/packages/docs/components/LandingPage/WriteInReact.tsx
+++ b/packages/docs/components/LandingPage/WriteInReact.tsx
@@ -17,6 +17,7 @@ export const WriteInReact: React.FC = () => {
<GetStarted />
</div>
+ <div style={{ width: 32 }}></div>
<div className={styles.writeright}>
<PlayerPreview />
</div>
diff --git a/packages/docs/components/LandingPage/writeinreact.module.css b/packages/docs/components/LandingPage/writeinreact.module.css
index 4a7fa5c446..96a925b433 100644
--- a/packages/docs/components/LandingPage/writeinreact.module.css
+++ b/packages/docs/components/LandingPage/writeinreact.module.css
@@ -4,7 +4,7 @@
}
.writeincsstitle {
- font-size: 4.5em;
+ font-size: 4em;
font-weight: 700;
line-height: 1;
max-width: 500px;
diff --git a/packages/docs/src/css/custom.css b/packages/docs/src/css/custom.css
index daedac7ae4..aead4d866c 100644
--- a/packages/docs/src/css/custom.css
+++ b/packages/docs/src/css/custom.css
@@ -7,25 +7,49 @@
/* You can override the default Infima variables here. */
+* {
+ font-feature-settings: "kern" 1, "ss02" 1;
+ font-kerning: normal;
+ -webkit-font-smoothing: antialiased; /* Chrome, Safari */
+ -moz-osx-font-smoothing: grayscale; /* Firefox */
+}
+
+h1, h2 {
+ letter-spacing: -0.025em;
+ word-spacing: -0.025em;
+}
+
+p {
+ word-spacing: 0.025em;
+}
+
+
@font-face {
font-family: 'GTPlanar';
- src: url('/img/gt-planar-regular.woff2') format('woff2');
+ 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');
+ src: url('/img/GT-Planar-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
}
-
@font-face {
font-family: 'GTPlanar';
- src: url('/img/gt-planar-bold.woff2') format('woff2');
+ src: url('/img/GT-Planar-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
+
+}
+
+@font-face {
+ font-family: 'GTPlanar';
+ src: url('/img/GT-Planar-Black.woff2') format('woff2');
+ font-weight: 900;
+ font-style: normal;
}
diff --git a/packages/docs/static/img/gt-planar-black.woff2 b/packages/docs/static/img/gt-planar-black.woff2
index fcd2cc7dce..0696ffdd7c 100644
Binary files a/packages/docs/static/img/gt-planar-black.woff2 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
index 9bd36298f0..a6688fcfb8 100644
Binary files a/packages/docs/static/img/gt-planar-bold.woff2 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
deleted file mode 100644
index 534b1200c6..0000000000
Binary files a/packages/docs/static/img/gt-planar-light.woff2 and /dev/null differ
diff --git a/packages/docs/static/img/gt-planar-medium.woff2 b/packages/docs/static/img/gt-planar-medium.woff2
index 8c0c42b12a..10e1e5a042 100644
Binary files a/packages/docs/static/img/gt-planar-medium.woff2 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
index 9899679295..29ad899a66 100644
Binary files a/packages/docs/static/img/gt-planar-regular.woff2 and b/packages/docs/static/img/gt-planar-regular.woff2 differ