fix(styles): synchronize accent across open apps
Quality / quality (ubuntu-latest) (push) Failing after 9m48s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-12 21:11:22 +05:30
parent 6133d33b8c
commit effed1c3cf
5 changed files with 20 additions and 3 deletions
@@ -58,6 +58,8 @@ describe("theme accents", () => {
expect(runtime).toContain('"domain":"localhost"');
expect(runtime).toContain("deleteCookie(ACCENT_COOKIE);");
expect(runtime).toContain("writeCookie(ACCENT_COOKIE,name,ACCENT_COOKIE_OPTIONS)");
expect(runtime).toContain('window.addEventListener("focus",syncSharedAccent)');
expect(runtime).toContain("window.setInterval(syncSharedAccent,1000)");
});
});
test("live document accent has priority over cookie and default", () => {