mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
✨ feat: add support for Hyvor Talk comments
This commit is contained in:
parent
5214dd3560
commit
7924e8206c
10 changed files with 184 additions and 43 deletions
|
@ -9,7 +9,7 @@ function setTheme(theme) {
|
|||
document.documentElement.setAttribute("data-theme", theme);
|
||||
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