From 6eb8256555ad276c374d9cf4410db1f19141e884 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Mon, 17 Dec 2018 11:38:47 +0100 Subject: Resolves font flicker on route change - Adds formular css to globally linked css --- packages/website/ts/@next/constants/globalStyle.tsx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'packages/website/ts/@next/constants/globalStyle.tsx') diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx index 6844381c9..bf168d344 100644 --- a/packages/website/ts/@next/constants/globalStyle.tsx +++ b/packages/website/ts/@next/constants/globalStyle.tsx @@ -13,20 +13,6 @@ export interface GlobalStyle { const GlobalStyles = withTheme(createGlobalStyle ` ${cssReset}; - @font-face { - font-family: "Formular"; - src: url("/fonts/Formular-Light.woff2") format("woff2"), url("/fonts/Formular-Light.woff") format("woff"); - font-weight: 300; - font-display: swap; - } - - @font-face { - font-family: "Formular"; - src: url("/fonts/Formular-Regular.woff2") format("woff2"), url("/fonts/Formular-Regular.woff") format("woff"); - font-weight: 400; - font-display: swap; - } - html { font-size: 18px; background-color: ${props => props.theme.bgColor}; -- cgit v1.2.3