This commit is contained in:
Vanessa 2024-03-26 09:00:04 +08:00
parent 9995404dd0
commit fb2b82a951

View file

@ -91,7 +91,7 @@ const renderPDF = async (id: string) => {
}
const currentWindowId = await ipcRenderer.invoke(Constants.SIYUAN_GET, {
cmd: "getCurrentWindowId",
})
});
// data-theme-mode="light" https://github.com/siyuan-note/siyuan/issues/7379
const html = `<!DOCTYPE html>
<html lang="${window.siyuan.config.appearance.lang}" data-theme-mode="light" data-light-theme="${window.siyuan.config.appearance.themeLight}" data-dark-theme="${window.siyuan.config.appearance.themeDark}">