Rename entrypoint to main.ts. Tweak text contrast
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user