fix(ui): tune light mode contrast

This commit is contained in:
Shantur Rathore
2026-02-03 17:37:02 +00:00
parent 17a3e43ac7
commit aab0692403
11 changed files with 101 additions and 40 deletions

View File

@@ -329,6 +329,10 @@ export async function initMarkdown(isDark: boolean) {
isInitialized = true
}
export function setMarkdownTheme(isDark: boolean) {
currentTheme = isDark ? "dark" : "light"
}
export function isMarkdownReady(): boolean {
return isInitialized && highlighter !== null
}