Skip to content

Scheduling infrastructure for absolutely everyone.

removed lexend, upgraded cal sans, added roboto from local instead of google fonts (#1121)

Peer Richelsen3c5a84b7b439
diff --git a/public/cal.ttf b/public/cal.ttf
index ef5a08546c7..4a2950a0451 100644
Binary files a/public/cal.ttf and b/public/cal.ttf differ
diff --git a/public/roboto.ttf b/public/roboto.ttf
new file mode 100644
index 00000000000..3d6861b4239
Binary files /dev/null and b/public/roboto.ttf differ
diff --git a/styles/globals.css b/styles/globals.css
index 5d8375dcc58..abb7bd98fae 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -25,17 +25,17 @@
}
/* Roboto */
-@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
+@font-face {
+ font-family: "Roboto";
+ src: url("https://app.cal.com/roboto.ttf");
+}
/* Cal Sans */
@font-face {
font-family: "Cal Sans";
- src: url("https://cal.com/cal.ttf");
+ src: url("https://app.cal.com/cal.ttf");
}
-/* Lexend Fallback for Cal Sans*/
-@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap");
-
/* note(PeerRich): TODO move @layer components into proper React Components: <Button color="primary" size="xs" /> */
@layer components {
/* Primary buttons */
diff --git a/tailwind.config.js b/tailwind.config.js
index e4d34bffd8b..911e4740c6b 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -99,7 +99,7 @@ module.exports = {
},
},
fontFamily: {
- cal: ["Cal Sans", "Lexend", "sans-serif"],
+ cal: ["Cal Sans", "sans-serif"],
},
maxHeight: (theme) => ({
0: "0",