mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 18:30:39 +09:00
Add dark mode inbox selection color
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
a3e125f796
commit
9684e7bf30
2 changed files with 8 additions and 4 deletions
|
|
@ -136,7 +136,10 @@ describe("SwipeToArchive", () => {
|
|||
|
||||
const surface = container.querySelector("[data-inbox-row-surface]") as HTMLDivElement | null;
|
||||
expect(surface).not.toBeNull();
|
||||
expect(surface?.style.backgroundColor).toBe("hsl(var(--muted))");
|
||||
expect(surface?.className).toContain("bg-zinc-100");
|
||||
expect(surface?.className).toContain("dark:bg-zinc-800");
|
||||
expect(surface?.className).not.toContain("bg-card");
|
||||
expect(surface?.style.backgroundColor).toBe("");
|
||||
expect(surface?.style.boxShadow).toBe("");
|
||||
|
||||
act(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue