Skip to content

Commit 5e2f674

Browse files
committedAug 17, 2024
Add color palette ui update
1 parent 2cea2e7 commit 5e2f674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎components/color-palette.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ export const ColorPalette = ({
1818
return (
1919
<div
2020
className={cn(
21-
'fixed inset-0 max-w-full min-h-fit md:h-12 px-2 py-4 md:py-0 bg-zinc-900 flex items-center justify-center flex-wrap gap-2 dark:rounded-xl z-50',
21+
'fixed inset-0 max-w-full min-h-fit md:h-12 px-2 py-4 md:py-0 dark:bg-zinc-900 bg-zinc-100 flex items-center justify-center flex-wrap gap-2 dark:rounded-xl z-50',
2222
className
2323
)}
2424
ref={colorPaletteRef}
2525
>
2626
{bgColors.map(color => (
2727
<div
28-
className={`h-6 w-6 rounded-full hover:border border-white cursor-pointer ${getLightModeColor(
28+
className={`h-6 w-6 rounded-full hover:border dark:border-white border-black cursor-pointer ${getLightModeColor(
2929
color
3030
)} ${getDarkModeColor(color)}`}
3131
key={color}

0 commit comments

Comments
 (0)
Please sign in to comment.