aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-28 23:26:05 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-28 23:26:05 +0800
commitd2a418b368b514b158e46c2b0459d49a9c07f177 (patch)
treef5d2fc25a73ccab0e42415f06b052142ca85016a /packages/website/ts
parent081859f334b0ee4733046e1698820e0e4c063f5d (diff)
downloaddexon-sol-tools-d2a418b368b514b158e46c2b0459d49a9c07f177.tar
dexon-sol-tools-d2a418b368b514b158e46c2b0459d49a9c07f177.tar.gz
dexon-sol-tools-d2a418b368b514b158e46c2b0459d49a9c07f177.tar.bz2
dexon-sol-tools-d2a418b368b514b158e46c2b0459d49a9c07f177.tar.lz
dexon-sol-tools-d2a418b368b514b158e46c2b0459d49a9c07f177.tar.xz
dexon-sol-tools-d2a418b368b514b158e46c2b0459d49a9c07f177.tar.zst
dexon-sol-tools-d2a418b368b514b158e46c2b0459d49a9c07f177.zip
Fix font references
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/@next/constants/globalStyle.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx
index 46f927673..b3b4c4a96 100644
--- a/packages/website/ts/@next/constants/globalStyle.tsx
+++ b/packages/website/ts/@next/constants/globalStyle.tsx
@@ -2,7 +2,6 @@ import { createGlobalStyle } from 'styled-components';
import { cssReset } from 'ts/@next/constants/cssReset';
import { colors } from 'ts/style/colors';
-
// Not sure if cssReset is already imported into index.tsx
// Also: currently createglobalStyle from styled-components is
// throwing a warning about how there's not typing exported from styled-comps
@@ -11,15 +10,15 @@ const GlobalStyles = createGlobalStyle`
@font-face {
font-family: "Formular";
- src: url("/public/fonts/Formular-Light.woff2") format("woff2"), url("/public/fonts/Formular-Light.woff") format("woff");
+ 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("/public/fonts/Formular-Regular.woff2") format("woff2"), url("/public/fonts/Formular-Regular.woff") format("woff");
- font-weight: 500;
+ src: url("/fonts/Formular-Regular.woff2") format("woff2"), url("/fonts/Formular-Regular.woff") format("woff");
+ font-weight: 400;
font-display: swap;
}