Skip to content

Commit a97c32d

Browse files
committed
Adding dark mode to delete section
1 parent 9a6eafd commit a97c32d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/components/settings/delete-user.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function DeleteUser() {
4747
title="Delete Account"
4848
description="Delete your account and all of its resources"
4949
/>
50-
<div className="border border-red-500 p-3 rounded-lg flex items-center bg-red-50">
50+
<div className="border border-red-100 dark:border-red-950 p-3 rounded-lg flex items-center bg-red-50 dark:bg-red-500/20">
5151
<Dialog>
5252
<DialogTrigger asChild>
5353
<Button variant="destructive">Delete Account</Button>
@@ -94,7 +94,7 @@ export default function DeleteUser() {
9494
</form>
9595
</DialogContent>
9696
</Dialog>
97-
<div className="relative text-red-600 ml-3">
97+
<div className="relative text-red-600 dark:text-red-100 ml-3">
9898
<p className="font-medium leading-none mb-1 text-sm">Warning</p>
9999
<p className="leading-none text-xs">Please proceed with caution, this cannot be undone</p>
100100
</div>

0 commit comments

Comments
 (0)