Rename entrypoint to main.ts. Tweak text contrast

This commit is contained in:
2026-10-02 13:53:53 +02:00
parent 41c0481380
commit 9a7ed0a347
13 changed files with 19 additions and 27 deletions

View File

@@ -42,10 +42,10 @@ onMount(() => {
return
}
// Custom CSS rules for the whole viewer. The MainMenu applies its
// styles to the <html> element. So we apply to the <body> element, our
// styles take precedence since they're lower level, and we can clean it
// up afterwards without overwriting global style
// Custom CSS rules for the whole viewer. App.svelte applies its styles
// to the <html> element. So we apply to the <body> element, our styles
// take precedence since they're lower level, and we can clean it up
// afterwards without overwriting global style
document.body.style = css_from_path(nav.path)
update_favicon()
})