fix(styles): synchronize accent across open apps
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user