diff --git a/apps/dashboard/src/components/modals/mobile-light.png b/apps/dashboard/src/components/modals/mobile-light.png new file mode 100644 index 0000000000..ba777243cb Binary files /dev/null and b/apps/dashboard/src/components/modals/mobile-light.png differ diff --git a/apps/dashboard/src/components/modals/overview-1-light.png b/apps/dashboard/src/components/modals/overview-1-light.png new file mode 100644 index 0000000000..06aae5cbbb Binary files /dev/null and b/apps/dashboard/src/components/modals/overview-1-light.png differ diff --git a/apps/dashboard/src/components/modals/overview-2-light.png b/apps/dashboard/src/components/modals/overview-2-light.png new file mode 100644 index 0000000000..f97f08b2a4 Binary files /dev/null and b/apps/dashboard/src/components/modals/overview-2-light.png differ diff --git a/apps/dashboard/src/components/modals/overview-light.png b/apps/dashboard/src/components/modals/overview-light.png new file mode 100644 index 0000000000..9df6362f90 Binary files /dev/null and b/apps/dashboard/src/components/modals/overview-light.png differ diff --git a/apps/dashboard/src/components/modals/overview-modal.tsx b/apps/dashboard/src/components/modals/overview-modal.tsx index 9a6084419e..acc578e432 100644 --- a/apps/dashboard/src/components/modals/overview-modal.tsx +++ b/apps/dashboard/src/components/modals/overview-modal.tsx @@ -4,13 +4,15 @@ import { Button } from "@midday/ui/button"; import { cn } from "@midday/ui/utils"; import Image from "next/image"; import Link from "next/link"; -import { useState } from "react"; +import { Fragment, useState } from "react"; +import OverViewScreenOneLight from "./overview-1-light.png"; import OverViewScreenOne from "./overview-1.png"; +import OverViewScreenTwoLight from "./overview-2-light.png"; import OverViewScreenTwo from "./overview-2.png"; const images = [ - { id: 1, src: OverViewScreenOne }, - { id: 2, src: OverViewScreenTwo }, + { id: 1, src: OverViewScreenOne, src2: OverViewScreenOneLight }, + { id: 2, src: OverViewScreenTwo, src2: OverViewScreenTwoLight }, ]; export function OverviewModal() { @@ -18,7 +20,7 @@ export function OverviewModal() { return (
{images.map((image) => ( - Overview + + + + Overview + ))}
@@ -62,7 +76,7 @@ export function OverviewModal() { onClick={() => setActive(image.id)} key={image.id} className={cn( - "w-[16px] h-[6px] rounded-full bg-[#D9D9D9] opacity-30 transition-all cursor-pointer", + "w-[16px] h-[6px] rounded-full bg-[#1D1D1D] dark:bg-[#D9D9D9] opacity-30 transition-all cursor-pointer", image.id === activeId && "opacity-1" )} /> diff --git a/apps/dashboard/src/components/modals/transactions-1-light.png b/apps/dashboard/src/components/modals/transactions-1-light.png new file mode 100644 index 0000000000..81848c870d Binary files /dev/null and b/apps/dashboard/src/components/modals/transactions-1-light.png differ diff --git a/apps/dashboard/src/components/modals/transactions-2-light.png b/apps/dashboard/src/components/modals/transactions-2-light.png new file mode 100644 index 0000000000..ebff9e4c41 Binary files /dev/null and b/apps/dashboard/src/components/modals/transactions-2-light.png differ diff --git a/apps/dashboard/src/components/modals/transactions-modal.tsx b/apps/dashboard/src/components/modals/transactions-modal.tsx index 859ebdb1c8..5fc8d560d3 100644 --- a/apps/dashboard/src/components/modals/transactions-modal.tsx +++ b/apps/dashboard/src/components/modals/transactions-modal.tsx @@ -4,13 +4,15 @@ import { Button } from "@midday/ui/button"; import { cn } from "@midday/ui/utils"; import Image from "next/image"; import Link from "next/link"; -import { useState } from "react"; +import { Fragment, useState } from "react"; +import TransactionsScreenOneLight from "./transactions-1-light.png"; import TransactionsScreenOne from "./transactions-1.png"; +import TransactionsScreenTwoLight from "./transactions-2-light.png"; import TransactionsScreenTwo from "./transactions-2.png"; const images = [ - { id: 1, src: TransactionsScreenOne }, - { id: 2, src: TransactionsScreenTwo }, + { id: 1, src: TransactionsScreenOne, src2: TransactionsScreenOneLight }, + { id: 2, src: TransactionsScreenTwo, src2: TransactionsScreenTwoLight }, ]; export function TransactionsModal() { @@ -18,7 +20,7 @@ export function TransactionsModal() { return (
{images.map((image) => ( - Overview + + + + Overview + ))}
@@ -62,7 +76,7 @@ export function TransactionsModal() { onClick={() => setActive(image.id)} key={image.id} className={cn( - "w-[16px] h-[6px] rounded-full bg-[#D9D9D9] opacity-30 transition-all cursor-pointer", + "w-[16px] h-[6px] rounded-full bg-[#1D1D1D] dark:bg-[#D9D9D9] opacity-30 transition-all cursor-pointer", image.id === activeId && "opacity-1" )} /> diff --git a/packages/ui/src/components/alert-dialog.tsx b/packages/ui/src/components/alert-dialog.tsx index 1e3fce115d..8e683af648 100644 --- a/packages/ui/src/components/alert-dialog.tsx +++ b/packages/ui/src/components/alert-dialog.tsx @@ -18,7 +18,7 @@ const AlertDialogOverlay = React.forwardRef< @@ -51,7 +51,7 @@ const AlertDialogHeader = ({
@@ -65,7 +65,7 @@ const AlertDialogFooter = ({
@@ -118,7 +118,7 @@ const AlertDialogCancel = React.forwardRef< className={cn( buttonVariants({ variant: "outline" }), "mt-2 sm:mt-0", - className, + className )} {...props} /> diff --git a/packages/ui/src/components/dialog.tsx b/packages/ui/src/components/dialog.tsx index 915e430b70..cda0609838 100644 --- a/packages/ui/src/components/dialog.tsx +++ b/packages/ui/src/components/dialog.tsx @@ -34,7 +34,7 @@ const DialogContent = React.forwardRef<