doc: add theme keyboard shortcut - #1537
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
dkeyboard shortcut through Next.js client instrumentationWhy
This keeps Fumadocs as the single owner of theme state and persistence while adding keyboard access without another theme provider, a direct
next-themesdependency, or React effect lifecycle code.Testing
pnpm --filter docs test(11 test files, 95 tests)src/instrumentation-client.tssrc/instrumentation-client.tsBreaking changes
None.