refactor(design): drop rounded classes, swap bg-white and gray borders for tokens
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,7 +62,7 @@ export function NotificationBell() {
|
||||
<button
|
||||
onClick={() => setOpen(o => !o)}
|
||||
aria-label={`Notifications${unread > 0 ? ` (${unread} unread)` : ''}`}
|
||||
className="relative bg-white rounded-full shadow-sm border border-gray-200 w-10 h-10 flex items-center justify-center hover:shadow-md transition-shadow"
|
||||
className="relative bg-surface rounded-full shadow-sm border border-divider w-10 h-10 flex items-center justify-center hover:shadow-md transition-shadow"
|
||||
>
|
||||
<span className="text-lg" aria-hidden>🔔</span>
|
||||
{unread > 0 && (
|
||||
@@ -73,8 +73,8 @@ export function NotificationBell() {
|
||||
</button>
|
||||
|
||||
{open && (
|
||||
<div className="absolute right-0 mt-2 w-80 max-h-96 overflow-y-auto bg-white rounded-xl shadow-lg border border-gray-200">
|
||||
<div className="flex items-center justify-between px-4 py-2 border-b border-gray-100">
|
||||
<div className="absolute right-0 mt-2 w-80 max-h-96 overflow-y-auto bg-surface shadow-lg border border-divider">
|
||||
<div className="flex items-center justify-between px-4 py-2 border-b border-divider">
|
||||
<span className="text-sm font-semibold text-gray-700">Notifications</span>
|
||||
{unread > 0 && (
|
||||
<button onClick={markAllRead} className="text-xs text-blue-600 hover:underline">
|
||||
|
||||
Reference in New Issue
Block a user