feat: add remote channels and richer notes

This commit is contained in:
lofyer
2026-08-09 15:48:52 +08:00
parent 417a9fccb6
commit 6c891f3522
69 changed files with 13012 additions and 499 deletions
+23
View File
@@ -0,0 +1,23 @@
import interItalicUrl from '@fontsource-variable/inter/files/inter-latin-standard-italic.woff2?url'
import interNormalUrl from '@fontsource-variable/inter/files/inter-latin-standard-normal.woff2?url'
const interFaces = [
{ style: 'normal', url: interNormalUrl },
{ style: 'italic', url: interItalicUrl }
] as const
export function installBundledUiFonts(): void {
for (const face of interFaces) {
document.fonts.add(
new FontFace(
'Inter Variable',
`url("${face.url}") format("woff2-variations")`,
{
display: 'swap',
style: face.style,
weight: '100 900'
}
)
)
}
}