added missing roboto weights (#1130)

This commit is contained in:
Peer Richelsen authored and GitHub committed 2021-11-04 13:56:02 +00:00
1 parent 3c5a84b7b4
commit 401016772e
39 files changed
+124 -12

No files matched your search

+123
View File
@@ -0,0 +1,123 @@
/* Roboto */
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-Black.woff2") format("woff2"), url("/fonts/Roboto-Black.woff") format("woff"),
url("/fonts/Roboto-Black.ttf") format("truetype");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-Bold.woff2") format("woff2"), url("/fonts/Roboto-Bold.woff") format("woff"),
url("/fonts/Roboto-Bold.ttf") format("truetype");
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-BoldItalic.woff2") format("woff2"),
url("/fonts/Roboto-BoldItalic.woff") format("woff"),
url("/fonts/Roboto-BoldItalic.ttf") format("truetype");
font-weight: bold;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-BlackItalic.woff2") format("woff2"),
url("/fonts/Roboto-BlackItalic.woff") format("woff"),
url("/fonts/Roboto-BlackItalic.ttf") format("truetype");
font-weight: 900;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-Light.woff2") format("woff2"), url("/fonts/Roboto-Light.woff") format("woff"),
url("/fonts/Roboto-Light.ttf") format("truetype");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-Italic.woff2") format("woff2"), url("/fonts/Roboto-Italic.woff") format("woff"),
url("/fonts/Roboto-Italic.ttf") format("truetype");
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-LightItalic.woff2") format("woff2"),
url("/fonts/Roboto-LightItalic.woff") format("woff"),
url("/fonts/Roboto-LightItalic.ttf") format("truetype");
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-Regular.woff2") format("woff2"), url("/fonts/Roboto-Regular.woff") format("woff"),
url("/fonts/Roboto-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-Medium.woff2") format("woff2"), url("/fonts/Roboto-Medium.woff") format("woff"),
url("/fonts/Roboto-Medium.ttf") format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-MediumItalic.woff2") format("woff2"),
url("/fonts/Roboto-MediumItalic.woff") format("woff"),
url("/fonts/Roboto-MediumItalic.ttf") format("truetype");
font-weight: 500;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-Thin.woff2") format("woff2"), url("/fonts/Roboto-Thin.woff") format("woff"),
url("/fonts/Roboto-Thin.ttf") format("truetype");
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/Roboto-ThinItalic.woff2") format("woff2"),
url("/fonts/Roboto-ThinItalic.woff") format("woff"),
url("/fonts/Roboto-ThinItalic.ttf") format("truetype");
font-weight: 100;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("/fonts/roboto.ttf");
}
@font-face {
font-family: "Cal Sans";
src: url("/cal.ttf");
}
-12
View File
@@ -24,18 +24,6 @@
@apply rounded-sm focus:ring-primary-500 focus:border-primary-500 h-auto py-0.5 my-0.5;
}
/* Roboto */
@font-face {
font-family: "Roboto";
src: url("https://app.cal.com/roboto.ttf");
}
/* Cal Sans */
@font-face {
font-family: "Cal Sans";
src: url("https://app.cal.com/cal.ttf");
}
/* note(PeerRich): TODO move @layer components into proper React Components: <Button color="primary" size="xs" /> */
@layer components {
/* Primary buttons */