about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-09-20 17:29:58 -0500
committerGitHub <noreply@github.com>2024-09-20 17:29:58 -0500
commit7e2456b906563464c8e43867e62f07df9109bc2b (patch)
tree8dfca319f8b96190b7e83eb9ba37b17c24a2cb46 /web
parent4161e233200cc1d111faef47f05881e44ab4e731 (diff)
downloadvoidsky-7e2456b906563464c8e43867e62f07df9109bc2b.tar.zst
[Neue] Font weights (#5442)
* Align all font weights

* Only load necessary fonts

* Also comment out from hook
Diffstat (limited to 'web')
-rw-r--r--web/index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html
index 6e1fa9061..3a132d25b 100644
--- a/web/index.html
+++ b/web/index.html
@@ -20,16 +20,22 @@
 
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Regular.1f5ed03b6dd9fd1f9982.otf">
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Italic.95778eb0c75dc956257e.otf">
+    <!--
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Medium.296aa2d65964269836b3.otf">
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-MediumItalic.0e57e17a6311368e2114.otf">
+    -->
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-SemiBold.2277990330981b8409bb.otf">
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-SemiBoldItalic.f62fea3df3a521d6c8a7.otf">
+    <!--
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Bold.8d330503e1d034ad68de.otf">
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-BoldItalic.bb17e63f9baa0d861a20.otf">
+    -->
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-ExtraBold.ff2581a193bf6b7e0b06.otf">
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-ExtraBoldItalic.0e50b40728d24d40fdf4.otf">
+    <!--
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Black.66e9a87f1c921e844ed4.otf">
     <link rel="preload" as="font" type="font/otf" href="/static/media/Inter-BlackItalic.27b9f0ad06fd13a7b9da.otf">
+    -->
 
     <style>
       @font-face {
@@ -46,6 +52,7 @@
         font-style: italic;
         font-display: swap;
       }
+      /*
       @font-face {
         font-family: "Inter-Medium";
         src: local("Inter-Medium"), url(/static/media/Inter-Medium.296aa2d65964269836b3.otf) format("font/otf");
@@ -60,6 +67,7 @@
         font-style: italic;
         font-display: swap;
       }
+      */
       @font-face {
         font-family: "Inter-SemiBold";
         src: local("Inter-SemiBold"), url(/static/media/Inter-SemiBold.2277990330981b8409bb.otf) format("font/otf");
@@ -74,6 +82,7 @@
         font-style: italic;
         font-display: swap;
       }
+      /*
       @font-face {
         font-family: "Inter-Bold";
         src: local("Inter-Bold"), url(/static/media/Inter-Bold.8d330503e1d034ad68de.otf) format("font/otf");
@@ -88,6 +97,7 @@
         font-style: italic;
         font-display: swap;
       }
+      */
       @font-face {
         font-family: "Inter-ExtraBold";
         src: local("Inter-ExtraBold"), url(/static/media/Inter-ExtraBold.ff2581a193bf6b7e0b06.otf) format("font/otf");
@@ -102,6 +112,7 @@
         font-style: italic;
         font-display: swap;
       }
+      /*
       @font-face {
         font-family: "Inter-Black";
         src: local("Inter-Black"), url(/static/media/Inter-Black.66e9a87f1c921e844ed4.otf) format("font/otf");
@@ -116,6 +127,7 @@
         font-style: italic;
         font-display: swap;
       }
+      */
 
       /**
        * Extend the react-native-web reset: