From c950795844ae214d8847d656398bbf78901d94ff Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Mon, 9 Nov 2026 19:04:17 -0700 Subject: [PATCH] Use the blurred yellow backdrop on the Customize dialog. --- .../components/TemplateCustomizeDialog.tsx | 2 +- .../TemplateCustomizeDialog.test.tsx | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 tests/components/TemplateCustomizeDialog.test.tsx diff --git a/app/(app)/create/components/TemplateCustomizeDialog.tsx b/app/(app)/create/components/TemplateCustomizeDialog.tsx index 8bdc726..779f050 100644 --- a/app/(app)/create/components/TemplateCustomizeDialog.tsx +++ b/app/(app)/create/components/TemplateCustomizeDialog.tsx @@ -147,7 +147,7 @@ export function TemplateCustomizeDialog({ diff --git a/tests/components/TemplateCustomizeDialog.test.tsx b/tests/components/TemplateCustomizeDialog.test.tsx new file mode 100644 index 0000000..1460c52 --- /dev/null +++ b/tests/components/TemplateCustomizeDialog.test.tsx @@ -0,0 +1,24 @@ +import { describe, expect, it } from "vitest"; +import "@testing-library/jest-dom/vitest"; +import { renderWithProviders as render } from "../utils/test-utils"; +import { TemplateCustomizeDialog } from "../../app/(app)/create/components/TemplateCustomizeDialog"; + +describe("TemplateCustomizeDialog", () => { + it("uses the same blurred yellow backdrop as other create-flow Create modals", () => { + render( + undefined} + onContinue={() => undefined} + />, + ); + + expect(document.querySelector(".backdrop-blur-md")).toBeInTheDocument(); + }); +});