diff options
author | Rasmus Andersson <rasmus@figma.com> | 2019-02-10 02:16:52 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@figma.com> | 2019-02-10 02:16:52 +0300 |
commit | d423ad1e4759e716c272ca37c31390dd7fddd9ce (patch) | |
tree | 25bc9fc3ae2884a8f46a67a98099d78e618e5279 /docs/lab/index.html | |
parent | ec90e93e82855b33ee43a3396ef2e60b2673da1d (diff) | |
download | inter-d423ad1e4759e716c272ca37c31390dd7fddd9ce.tar.xz |
website: fix var font loading in lab
Diffstat (limited to 'docs/lab/index.html')
-rw-r--r-- | docs/lab/index.html | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/docs/lab/index.html b/docs/lab/index.html index 2ee565037..6b1803028 100644 --- a/docs/lab/index.html +++ b/docs/lab/index.html @@ -983,9 +983,9 @@ for (const ch of uniqueChars) { font-weight: 100; font-display: block; src: url("fonts/const/Inter-Thin.woff2") format("woff2"), - url("/font-files/Inter-Thin.woff2") format("woff2"), + url("../font-files/Inter-Thin.woff2") format("woff2"), url("fonts/const/Inter-Thin.woff") format("woff"), - url("/font-files/Inter-Thin.woff") format("woff"); + url("../font-files/Inter-Thin.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -993,9 +993,9 @@ for (const ch of uniqueChars) { font-weight: 100; font-display: block; src: url("fonts/const/Inter-ThinItalic.woff2") format("woff2"), - url("/font-files/Inter-ThinItalic.woff2") format("woff2"), + url("../font-files/Inter-ThinItalic.woff2") format("woff2"), url("fonts/const/Inter-ThinItalic.woff") format("woff"), - url("/font-files/Inter-ThinItalic.woff") format("woff"); + url("../font-files/Inter-ThinItalic.woff") format("woff"); } @font-face { @@ -1004,9 +1004,9 @@ for (const ch of uniqueChars) { font-weight: 200; font-display: block; src: url("fonts/const/Inter-ExtraLight.woff2") format("woff2"), - url("/font-files/Inter-ExtraLight.woff2") format("woff2"), + url("../font-files/Inter-ExtraLight.woff2") format("woff2"), url("fonts/const/Inter-ExtraLight.woff") format("woff"), - url("/font-files/Inter-ExtraLight.woff") format("woff"); + url("../font-files/Inter-ExtraLight.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -1014,9 +1014,9 @@ for (const ch of uniqueChars) { font-weight: 200; font-display: block; src: url("fonts/const/Inter-ExtraLightItalic.woff2") format("woff2"), - url("/font-files/Inter-ExtraLightItalic.woff2") format("woff2"), + url("../font-files/Inter-ExtraLightItalic.woff2") format("woff2"), url("fonts/const/Inter-ExtraLightItalic.woff") format("woff"), - url("/font-files/Inter-ExtraLightItalic.woff") format("woff"); + url("../font-files/Inter-ExtraLightItalic.woff") format("woff"); } @font-face { @@ -1025,9 +1025,9 @@ for (const ch of uniqueChars) { font-weight: 300; font-display: block; src: url("fonts/const/Inter-Light.woff2") format("woff2"), - url("/font-files/Inter-Light.woff2") format("woff2"), + url("../font-files/Inter-Light.woff2") format("woff2"), url("fonts/const/Inter-Light.woff") format("woff"), - url("/font-files/Inter-Light.woff") format("woff"); + url("../font-files/Inter-Light.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -1035,9 +1035,9 @@ for (const ch of uniqueChars) { font-weight: 300; font-display: block; src: url("fonts/const/Inter-LightItalic.woff2") format("woff2"), - url("/font-files/Inter-LightItalic.woff2") format("woff2"), + url("../font-files/Inter-LightItalic.woff2") format("woff2"), url("fonts/const/Inter-LightItalic.woff") format("woff"), - url("/font-files/Inter-LightItalic.woff") format("woff"); + url("../font-files/Inter-LightItalic.woff") format("woff"); } @font-face { @@ -1046,9 +1046,9 @@ for (const ch of uniqueChars) { font-weight: 400; font-display: block; src: url("fonts/const/Inter-Regular.woff2") format("woff2"), - url("/font-files/Inter-Regular.woff2") format("woff2"), + url("../font-files/Inter-Regular.woff2") format("woff2"), url("fonts/const/Inter-Regular.woff") format("woff"), - url("/font-files/Inter-Regular.woff") format("woff"); + url("../font-files/Inter-Regular.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -1056,9 +1056,9 @@ for (const ch of uniqueChars) { font-weight: 400; font-display: block; src: url("fonts/const/Inter-Italic.woff2") format("woff2"), - url("/font-files/Inter-Italic.woff2") format("woff2"), + url("../font-files/Inter-Italic.woff2") format("woff2"), url("fonts/const/Inter-Italic.woff") format("woff"), - url("/font-files/Inter-Italic.woff") format("woff"); + url("../font-files/Inter-Italic.woff") format("woff"); } @font-face { @@ -1067,9 +1067,9 @@ for (const ch of uniqueChars) { font-weight: 500; font-display: block; src: url("fonts/const/Inter-Medium.woff2") format("woff2"), - url("/font-files/Inter-Medium.woff2") format("woff2"), + url("../font-files/Inter-Medium.woff2") format("woff2"), url("fonts/const/Inter-Medium.woff") format("woff"), - url("/font-files/Inter-Medium.woff") format("woff"); + url("../font-files/Inter-Medium.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -1077,9 +1077,9 @@ for (const ch of uniqueChars) { font-weight: 500; font-display: block; src: url("fonts/const/Inter-MediumItalic.woff2") format("woff2"), - url("/font-files/Inter-MediumItalic.woff2") format("woff2"), + url("../font-files/Inter-MediumItalic.woff2") format("woff2"), url("fonts/const/Inter-MediumItalic.woff") format("woff"), - url("/font-files/Inter-MediumItalic.woff") format("woff"); + url("../font-files/Inter-MediumItalic.woff") format("woff"); } @font-face { @@ -1088,9 +1088,9 @@ for (const ch of uniqueChars) { font-weight: 600; font-display: block; src: url("fonts/const/Inter-SemiBold.woff2") format("woff2"), - url("/font-files/Inter-SemiBold.woff2") format("woff2"), + url("../font-files/Inter-SemiBold.woff2") format("woff2"), url("fonts/const/Inter-SemiBold.woff") format("woff"), - url("/font-files/Inter-SemiBold.woff") format("woff"); + url("../font-files/Inter-SemiBold.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -1098,9 +1098,9 @@ for (const ch of uniqueChars) { font-weight: 600; font-display: block; src: url("fonts/const/Inter-SemiBoldItalic.woff2") format("woff2"), - url("/font-files/Inter-SemiBoldItalic.woff2") format("woff2"), + url("../font-files/Inter-SemiBoldItalic.woff2") format("woff2"), url("fonts/const/Inter-SemiBoldItalic.woff") format("woff"), - url("/font-files/Inter-SemiBoldItalic.woff") format("woff"); + url("../font-files/Inter-SemiBoldItalic.woff") format("woff"); } @font-face { @@ -1109,9 +1109,9 @@ for (const ch of uniqueChars) { font-weight: 700; font-display: block; src: url("fonts/const/Inter-Bold.woff2") format("woff2"), - url("/font-files/Inter-Bold.woff2") format("woff2"), + url("../font-files/Inter-Bold.woff2") format("woff2"), url("fonts/const/Inter-Bold.woff") format("woff"), - url("/font-files/Inter-Bold.woff") format("woff"); + url("../font-files/Inter-Bold.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -1119,9 +1119,9 @@ for (const ch of uniqueChars) { font-weight: 700; font-display: block; src: url("fonts/const/Inter-BoldItalic.woff2") format("woff2"), - url("/font-files/Inter-BoldItalic.woff2") format("woff2"), + url("../font-files/Inter-BoldItalic.woff2") format("woff2"), url("fonts/const/Inter-BoldItalic.woff") format("woff"), - url("/font-files/Inter-BoldItalic.woff") format("woff"); + url("../font-files/Inter-BoldItalic.woff") format("woff"); } @font-face { @@ -1130,9 +1130,9 @@ for (const ch of uniqueChars) { font-weight: 800; font-display: block; src: url("fonts/const/Inter-ExtraBold.woff2") format("woff2"), - url("/font-files/Inter-ExtraBold.woff2") format("woff2"), + url("../font-files/Inter-ExtraBold.woff2") format("woff2"), url("fonts/const/Inter-ExtraBold.woff") format("woff"), - url("/font-files/Inter-ExtraBold.woff") format("woff"); + url("../font-files/Inter-ExtraBold.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -1140,9 +1140,9 @@ for (const ch of uniqueChars) { font-weight: 800; font-display: block; src: url("fonts/const/Inter-ExtraBoldItalic.woff2") format("woff2"), - url("/font-files/Inter-ExtraBoldItalic.woff2") format("woff2"), + url("../font-files/Inter-ExtraBoldItalic.woff2") format("woff2"), url("fonts/const/Inter-ExtraBoldItalic.woff") format("woff"), - url("/font-files/Inter-ExtraBoldItalic.woff") format("woff"); + url("../font-files/Inter-ExtraBoldItalic.woff") format("woff"); } @font-face { @@ -1151,9 +1151,9 @@ for (const ch of uniqueChars) { font-weight: 900; font-display: block; src: url("fonts/const/Inter-Black.woff2") format("woff2"), - url("/font-files/Inter-Black.woff2") format("woff2"), + url("../font-files/Inter-Black.woff2") format("woff2"), url("fonts/const/Inter-Black.woff") format("woff"), - url("/font-files/Inter-Black.woff") format("woff"); + url("../font-files/Inter-Black.woff") format("woff"); } @font-face { font-family: 'Inter-VERSION'; @@ -1161,9 +1161,9 @@ for (const ch of uniqueChars) { font-weight: 900; font-display: block; src: url("fonts/const/Inter-BlackItalic.woff2") format("woff2"), - url("/font-files/Inter-BlackItalic.woff") format("woff2"), + url("../font-files/Inter-BlackItalic.woff") format("woff2"), url("fonts/const/Inter-BlackItalic.woff") format("woff"), - url("/font-files/Inter-BlackItalic.woff") format("woff"); + url("../font-files/Inter-BlackItalic.woff") format("woff"); } @font-face { @@ -1172,7 +1172,7 @@ for (const ch of uniqueChars) { font-weight: 100 900; font-display: block; src: url('fonts/var/Inter.var.woff2') format("woff2-variations"), - url('/font-files/Inter.var.woff2') format("woff2-variations"); + url('../font-files/Inter.var.woff2') format("woff2-variations"); } @font-face { @@ -1180,7 +1180,7 @@ for (const ch of uniqueChars) { font-style: oblique 0deg 10deg; font-display: block; src: url('fonts/var/Inter.var.woff2') format("woff2-variations"), - url('/font-files/Inter.var.woff2') format("woff2-variations"); + url('../font-files/Inter.var.woff2') format("woff2-variations"); } /* ----------------------------------------------------------------------- */ |