mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
✨ feat: add support for Isso comments
This commit is contained in:
parent
e1dfd2ea07
commit
9a98789922
13 changed files with 561 additions and 31 deletions
|
@ -13,7 +13,7 @@ function setTheme(theme, saveToLocalStorage = false) {
|
|||
localStorage.setItem("theme", theme);
|
||||
}
|
||||
|
||||
// Dispatch a custom event for utterances and giscus.
|
||||
// Dispatch a custom event for comment systems.
|
||||
const event = new CustomEvent("themeChanged", {
|
||||
detail: { theme: theme }
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue