aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-17 18:38:47 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-17 18:42:00 +0800
commit6eb8256555ad276c374d9cf4410db1f19141e884 (patch)
tree9c6e2b68c9bde5e2082bbc0479c6aa7d288744d5 /packages/website/ts
parent240e3558fa4accd920d43bc8971d49fed5b965a6 (diff)
downloaddexon-0x-contracts-6eb8256555ad276c374d9cf4410db1f19141e884.tar.gz
dexon-0x-contracts-6eb8256555ad276c374d9cf4410db1f19141e884.tar.zst
dexon-0x-contracts-6eb8256555ad276c374d9cf4410db1f19141e884.zip
Resolves font flicker on route change
- Adds formular css to globally linked css
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/@next/constants/globalStyle.tsx14
1 files changed, 0 insertions, 14 deletions
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<GlobalStyle> `
${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};