Use the blurred yellow backdrop on the Customize dialog.

This commit is contained in:
adilallo committed 2026-11-09 19:04:17 -07:00
1 parent c7f88e5515
commit c950795844
2 files changed
+25 -1

No files matched your search

@@ -147,7 +147,7 @@ export function TemplateCustomizeDialog({
<Create
isOpen={isOpen}
onClose={onClose}
backdropVariant="default"
backdropVariant="blurredYellow"
ariaLabel={heading}
headerContent={
<div className="px-[24px] pt-[8px]">
@@ -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(
<TemplateCustomizeDialog
isOpen
templateTitle="Consensus"
valuesCount={3}
cardsCount={10}
initialTitle=""
initialDescription=""
initialLocation=""
onClose={() => undefined}
onContinue={() => undefined}
/>,
);
expect(document.querySelector(".backdrop-blur-md")).toBeInTheDocument();
});
});