Skip to content

Commit a655044

Browse files
authored
Merge pull request natefrisch01#18 from natefrisch01/natefrisch01/themes
Removed console logs.
2 parents fa68cfb + d1c5e17 commit a655044

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

linkManager.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ export class LinkManager {
3434
this.currentTheme = document.body.classList.contains('theme-dark') ? 'theme-dark' : 'theme-light';
3535
const currentStyleSheetHref = document.querySelector('link[rel="stylesheet"][href*="theme"]')?.getAttribute('href');
3636
if ((this.currentTheme && this.currentTheme !== lastTheme) || (currentStyleSheetHref !== lastStyleSheetHref)) {
37-
console.log(`Theme has changed to: ${this.currentTheme}`);
3837
this.textColor = this.getComputedColorFromClass(this.currentTheme, '--text-normal');
39-
console.log(this.textColor);
4038
lastTheme = this.currentTheme;
4139
if (currentStyleSheetHref) {
4240
lastStyleSheetHref = currentStyleSheetHref;

0 commit comments

Comments
 (0)