Skip to content

Commit

Permalink
onThemeModeChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
YU000jp authored May 16, 2023
1 parent 515f3f1 commit 5ede952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function main() {
}
};
rootThemeColor();
logseq.App.onThemeModeChanged(() => { rootThemeColor(); });
logseq.App.onThemeModeChanged(() => { rootThemeColor();document.getElementById("app").style.background = background;document.getElementById("app").style.color = color; });

const baseStyles: CSS.Properties = {
position: "fixed",
Expand Down

0 comments on commit 5ede952

Please sign in to comment.