Skip to content

Commit

Permalink
chore(*): remove redundant logs
Browse files Browse the repository at this point in the history
  • Loading branch information
skjsjhb committed Jan 23, 2025
1 parent cb76be4 commit 356d435
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ function injectDevToolsStyles(w: BrowserWindow) {
if (os.platform() !== "win32") return;

w.webContents.on("devtools-opened", () => {
console.log(dedent);
const css = dedent`
:root {
--source-code-font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace !important;
Expand Down
3 changes: 1 addition & 2 deletions src/renderer/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export function useTheme() {
document.documentElement.classList.remove(originalTheme.current, "dark");
}

console.log(`Adding theme: ${theme}`);
document.documentElement.classList.add(theme);
if (isDark(theme)) {
document.documentElement.classList.add("dark");
Expand All @@ -32,4 +31,4 @@ export function useTheme() {
return { theme, setTheme };
}

export const themeManager = { getThemes, isDark };
export const themeManager = { getThemes };

0 comments on commit 356d435

Please sign in to comment.