added missing roboto weights (#1130)
This commit is contained in:
parent
3c5a84b7b4
commit
401016772e
39 changed files with 124 additions and 12 deletions
|
@ -13,6 +13,7 @@ import { withTRPC } from "@trpc/next";
|
|||
import type { TRPCClientErrorLike } from "@trpc/react";
|
||||
import { Maybe } from "@trpc/server";
|
||||
|
||||
import "../styles/fonts.css";
|
||||
import "../styles/globals.css";
|
||||
|
||||
function MyApp(props: AppProps) {
|
||||
|
|
BIN
public/fonts/Roboto-Black.ttf
Normal file
BIN
public/fonts/Roboto-Black.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Black.woff
Normal file
BIN
public/fonts/Roboto-Black.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Black.woff2
Normal file
BIN
public/fonts/Roboto-Black.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-BlackItalic.ttf
Normal file
BIN
public/fonts/Roboto-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-BlackItalic.woff
Normal file
BIN
public/fonts/Roboto-BlackItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-BlackItalic.woff2
Normal file
BIN
public/fonts/Roboto-BlackItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Bold.ttf
Normal file
BIN
public/fonts/Roboto-Bold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Bold.woff
Normal file
BIN
public/fonts/Roboto-Bold.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Bold.woff2
Normal file
BIN
public/fonts/Roboto-Bold.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-BoldItalic.ttf
Normal file
BIN
public/fonts/Roboto-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-BoldItalic.woff
Normal file
BIN
public/fonts/Roboto-BoldItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-BoldItalic.woff2
Normal file
BIN
public/fonts/Roboto-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Italic.ttf
Normal file
BIN
public/fonts/Roboto-Italic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Italic.woff
Normal file
BIN
public/fonts/Roboto-Italic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Italic.woff2
Normal file
BIN
public/fonts/Roboto-Italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Light.ttf
Normal file
BIN
public/fonts/Roboto-Light.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Light.woff
Normal file
BIN
public/fonts/Roboto-Light.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Light.woff2
Normal file
BIN
public/fonts/Roboto-Light.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-LightItalic.ttf
Normal file
BIN
public/fonts/Roboto-LightItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-LightItalic.woff
Normal file
BIN
public/fonts/Roboto-LightItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-LightItalic.woff2
Normal file
BIN
public/fonts/Roboto-LightItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Medium.ttf
Normal file
BIN
public/fonts/Roboto-Medium.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Medium.woff
Normal file
BIN
public/fonts/Roboto-Medium.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Medium.woff2
Normal file
BIN
public/fonts/Roboto-Medium.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-MediumItalic.ttf
Normal file
BIN
public/fonts/Roboto-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-MediumItalic.woff
Normal file
BIN
public/fonts/Roboto-MediumItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-MediumItalic.woff2
Normal file
BIN
public/fonts/Roboto-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Regular.ttf
Normal file
BIN
public/fonts/Roboto-Regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Regular.woff
Normal file
BIN
public/fonts/Roboto-Regular.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Regular.woff2
Normal file
BIN
public/fonts/Roboto-Regular.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Thin.ttf
Normal file
BIN
public/fonts/Roboto-Thin.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Thin.woff
Normal file
BIN
public/fonts/Roboto-Thin.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-Thin.woff2
Normal file
BIN
public/fonts/Roboto-Thin.woff2
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-ThinItalic.ttf
Normal file
BIN
public/fonts/Roboto-ThinItalic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-ThinItalic.woff
Normal file
BIN
public/fonts/Roboto-ThinItalic.woff
Normal file
Binary file not shown.
BIN
public/fonts/Roboto-ThinItalic.woff2
Normal file
BIN
public/fonts/Roboto-ThinItalic.woff2
Normal file
Binary file not shown.
123
styles/fonts.css
Normal file
123
styles/fonts.css
Normal 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");
|
||||
}
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue