Skip to content

Commit 501e220

Browse files
committed
style: enhance background brightness on scroll in Navigator component
1 parent 9d62130 commit 501e220

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/components/Navigator.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export default function Navigator() {
3030
return (
3131
<nav
3232
className={`sticky top-0 z-10 backdrop-blur-lg bg-charcoalBlack ${
33-
scrolled && "transition-all shadow-sm bg-black/75"
33+
scrolled &&
34+
"transition-all shadow-sm backdrop-brightness-[150%] bg-charcoalBlack/80"
3435
}`}
3536
>
3637
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">

0 commit comments

Comments
 (0)