mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
9dfcce73a5
- Replace hardcoded hex with var(--color-*) and CJK font stacks with var(--font-sans) / var(--font-heading) so the overlay tracks the theme picker and uses the project's typography (DM Serif Display). - Lift dismiss/visibility state to Dashboard (shouldShowOnboarding + showOnboarding useState + dismissOnboarding callback). Gate the Suspense mount with a boolean so the lazy chunk is only fetched on first visit, matching the PathFinderModal / KeyboardShortcutsHelp mount pattern. - Add capture-phase Escape handler (stopPropagation prevents the global shortcut chain from also firing) and role="dialog" / aria-modal / aria-labelledby on the card for screen readers.
9dfcce73a5
ยท
2026-05-21 11:07:02 +08:00
History