feat: dark mode toggle, copy-to-clipboard order IDs, accessibility
- Dark mode toggle (●/○) in desktop + mobile header nav - ThemeProvider wired in layout.tsx (class-based, light default) - Header scroll-glass uses CSS color-mix for dark-mode correctness - PortalShell main gets id="main-content" for skip-link target - Portal order table: copy order ID to clipboard with toast confirmation - Admin page: toast success/error on status advance - Skip-to-content link in layout.tsx (sr-only, visible on keyboard focus) Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -109,7 +109,7 @@ export function PortalShell({
|
||||
</aside>
|
||||
|
||||
{/* content */}
|
||||
<main className="min-w-0 flex-1 px-6 py-10">
|
||||
<main id="main-content" className="min-w-0 flex-1 px-6 py-10">
|
||||
<h1 className="text-3xl font-medium tracking-[-0.03em] md:text-4xl">{title}</h1>
|
||||
<div className="mt-8">{children}</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user