diff --git a/web/public/fonts/Recursive_VF_1.085.woff2 b/web/public/fonts/Recursive_VF_1.085.woff2 new file mode 100644 index 00000000..0f4358fe Binary files /dev/null and b/web/public/fonts/Recursive_VF_1.085.woff2 differ diff --git a/web/public/fonts/comic-mono/ComicMono-Bold.ttf b/web/public/fonts/comic-mono/ComicMono-Bold.ttf new file mode 100644 index 00000000..e03f41e7 Binary files /dev/null and b/web/public/fonts/comic-mono/ComicMono-Bold.ttf differ diff --git a/web/public/fonts/comic-mono/ComicMono.ttf b/web/public/fonts/comic-mono/ComicMono.ttf new file mode 100644 index 00000000..9bc7354e Binary files /dev/null and b/web/public/fonts/comic-mono/ComicMono.ttf differ diff --git a/web/public/fonts/hack/hack-bold.woff b/web/public/fonts/hack/hack-bold.woff new file mode 100644 index 00000000..368b913d Binary files /dev/null and b/web/public/fonts/hack/hack-bold.woff differ diff --git a/web/public/fonts/hack/hack-bold.woff2 b/web/public/fonts/hack/hack-bold.woff2 new file mode 100644 index 00000000..1155477e Binary files /dev/null and b/web/public/fonts/hack/hack-bold.woff2 differ diff --git a/web/public/fonts/hack/hack-bolditalic.woff b/web/public/fonts/hack/hack-bolditalic.woff new file mode 100644 index 00000000..ce87fe25 Binary files /dev/null and b/web/public/fonts/hack/hack-bolditalic.woff differ diff --git a/web/public/fonts/hack/hack-bolditalic.woff2 b/web/public/fonts/hack/hack-bolditalic.woff2 new file mode 100644 index 00000000..46ff1c42 Binary files /dev/null and b/web/public/fonts/hack/hack-bolditalic.woff2 differ diff --git a/web/public/fonts/hack/hack-italic.woff b/web/public/fonts/hack/hack-italic.woff new file mode 100644 index 00000000..bd545e45 Binary files /dev/null and b/web/public/fonts/hack/hack-italic.woff differ diff --git a/web/public/fonts/hack/hack-italic.woff2 b/web/public/fonts/hack/hack-italic.woff2 new file mode 100644 index 00000000..1e7630ce Binary files /dev/null and b/web/public/fonts/hack/hack-italic.woff2 differ diff --git a/web/public/fonts/hack/hack-regular.woff b/web/public/fonts/hack/hack-regular.woff new file mode 100644 index 00000000..e835381e Binary files /dev/null and b/web/public/fonts/hack/hack-regular.woff differ diff --git a/web/public/fonts/hack/hack-regular.woff2 b/web/public/fonts/hack/hack-regular.woff2 new file mode 100644 index 00000000..524465cf Binary files /dev/null and b/web/public/fonts/hack/hack-regular.woff2 differ diff --git a/web/public/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2 b/web/public/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2 new file mode 100644 index 00000000..1a30540c Binary files /dev/null and b/web/public/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2 differ diff --git a/web/public/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff2 b/web/public/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff2 new file mode 100644 index 00000000..cab1dd57 Binary files /dev/null and b/web/public/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff2 differ diff --git a/web/public/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2 b/web/public/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2 new file mode 100644 index 00000000..1c2895fb Binary files /dev/null and b/web/public/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2 differ diff --git a/web/public/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2 b/web/public/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2 new file mode 100644 index 00000000..910df3e3 Binary files /dev/null and b/web/public/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2 differ diff --git a/web/public/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff2 b/web/public/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff2 new file mode 100644 index 00000000..95380997 Binary files /dev/null and b/web/public/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff2 differ diff --git a/web/public/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2 b/web/public/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2 new file mode 100644 index 00000000..4297ee3a Binary files /dev/null and b/web/public/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2 differ diff --git a/web/public/fonts/zed-mono/zed-mono-extended.ttf b/web/public/fonts/zed-mono/zed-mono-extended.ttf new file mode 100644 index 00000000..34c7603a Binary files /dev/null and b/web/public/fonts/zed-mono/zed-mono-extended.ttf differ diff --git a/web/public/fonts/zed-mono/zed-mono-extendedbold.ttf b/web/public/fonts/zed-mono/zed-mono-extendedbold.ttf new file mode 100644 index 00000000..e83ced7a Binary files /dev/null and b/web/public/fonts/zed-mono/zed-mono-extendedbold.ttf differ diff --git a/web/public/fonts/zed-mono/zed-mono-extendedbolditalic.ttf b/web/public/fonts/zed-mono/zed-mono-extendedbolditalic.ttf new file mode 100644 index 00000000..32aa2a0f Binary files /dev/null and b/web/public/fonts/zed-mono/zed-mono-extendedbolditalic.ttf differ diff --git a/web/public/fonts/zed-mono/zed-mono-extendeditalic.ttf b/web/public/fonts/zed-mono/zed-mono-extendeditalic.ttf new file mode 100644 index 00000000..de2b30d0 Binary files /dev/null and b/web/public/fonts/zed-mono/zed-mono-extendeditalic.ttf differ diff --git a/web/public/fonts/zed-mono/zed-mono-extendedmedium.ttf b/web/public/fonts/zed-mono/zed-mono-extendedmedium.ttf new file mode 100644 index 00000000..a51d91dd Binary files /dev/null and b/web/public/fonts/zed-mono/zed-mono-extendedmedium.ttf differ diff --git a/web/public/fonts/zed-mono/zed-mono-extendedsemibold.ttf b/web/public/fonts/zed-mono/zed-mono-extendedsemibold.ttf new file mode 100644 index 00000000..d39db602 Binary files /dev/null and b/web/public/fonts/zed-mono/zed-mono-extendedsemibold.ttf differ diff --git a/web/src/services/fonts.ts b/web/src/services/fonts.ts index 7ab051a5..76b6fc13 100644 --- a/web/src/services/fonts.ts +++ b/web/src/services/fonts.ts @@ -23,7 +23,7 @@ interface FontDeclaration { label: string family: string fonts: Array<{ - src: Array<{ url: string; format?: 'opentype' | 'embedded-opentype' | 'woff' | 'truetype' | 'svg' }> + src: Array<{ url: string; format?: 'opentype' | 'embedded-opentype' | 'woff' | 'woff2' | 'truetype' | 'svg' }> weight?: 'normal' | 'bold' | 'light' | number style?: 'normal' | 'italic' }> @@ -42,6 +42,20 @@ const fontsList: Record = { }, ], }, + 'Comic-Mono': { + label: 'Comic Mono', + family: 'Comic Mono', + fonts: [ + { + src: [{ url: '/fonts/comic-mono/ComicMono.ttf', format: 'truetype' }], + weight: 400, + }, + { + src: [{ url: '/fonts/comic-mono/ComicMono-Bold.ttf', format: 'truetype' }], + weight: 700, + }, + ], + }, FiraCode: { label: 'Fira Code', family: 'FiraCode', @@ -64,6 +78,75 @@ const fontsList: Record = { }, ], }, + Hack: { + label: 'Hack', + family: 'Hack', + fonts: [ + { + src: [ + { url: '/fonts/hack/hack-regular.woff', format: 'woff' }, + { url: '/fonts/hack/hack-regular.woff2', format: 'woff2' }, + ], + weight: 400, + }, + { + src: [ + { url: '/fonts/hack/hack-italic.woff', format: 'woff' }, + { url: '/fonts/hack/hack-italic.woff2', format: 'woff2' }, + ], + weight: 400, + style: 'italic', + }, + { + src: [ + { url: '/fonts/hack/hack-bold.woff', format: 'woff' }, + { url: '/fonts/hack/hack-bold.woff2', format: 'woff2' }, + ], + weight: 700, + }, + { + src: [ + { url: '/fonts/hack/hack-bolditalic.woff', format: 'woff' }, + { url: '/fonts/hack/hack-bolditalic.woff2', format: 'woff2' }, + ], + weight: 700, + style: 'italic', + }, + ], + }, + 'IBM-Plex': { + label: 'IBM Plex Mono', + family: 'IBM Plex Mono', + fonts: [ + { + src: [{ url: '/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2', format: 'woff2' }], + weight: 400, + }, + { + src: [{ url: '/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2', format: 'woff2' }], + weight: 400, + style: 'italic', + }, + { + src: [{ url: '/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2', format: 'woff2' }], + weight: 500, + }, + { + src: [{ url: '/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff2', format: 'woff2' }], + weight: 500, + style: 'italic', + }, + { + src: [{ url: '/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2', format: 'woff2' }], + weight: 700, + }, + { + src: [{ url: '/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff2', format: 'woff2' }], + weight: 700, + style: 'italic', + }, + ], + }, 'JetBrains-Mono': { label: 'JetBrains Mono', family: 'JetBrains-Mono', @@ -82,6 +165,47 @@ const fontsList: Record = { }, ], }, + Recursive: { + label: 'Recursive', + family: 'Recursive', + fonts: [ + { + src: [{ url: '/fonts/Recursive_VF_1.085.woff2', format: 'woff2' }], + }, + ], + }, + 'Zed-Mono': { + label: 'Zed Mono', + family: 'Zed Mono', + fonts: [ + { + src: [{ url: '/fonts/zed-mono/zed-mono-extended.ttf', format: 'truetype' }], + weight: 400, + }, + { + src: [{ url: '/fonts/zed-mono/zed-mono-extendeditalic.ttf', format: 'truetype' }], + weight: 400, + style: 'italic', + }, + { + src: [{ url: '/fonts/zed-mono/zed-mono-extendedmedium.ttf', format: 'truetype' }], + weight: 500, + }, + { + src: [{ url: '/fonts/zed-mono/zed-mono-extendedsemibold.ttf', format: 'truetype' }], + weight: 600, + }, + { + src: [{ url: '/fonts/zed-mono/zed-mono-extendedbold.ttf', format: 'truetype' }], + weight: 700, + }, + { + src: [{ url: '/fonts/zed-mono/zed-mono-extendedbolditalic.ttf', format: 'truetype' }], + weight: 700, + style: 'italic', + }, + ], + }, } /**