Skip to content

feat(docs): move color mode toggle to navbar top right - #307

Merged
antfu merged 2 commits into
mainfrom
frank-zoos-stick
Aug 27, 2026
Merged

feat(docs): move color mode toggle to navbar top right#307
antfu merged 2 commits into
mainfrom
frank-zoos-stick

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Summary

Shadows comark-docs' AppHeader component to add a UColorModeButton next
to the version history button in the persistent header's #right slot, so
the toggle is reachable at all breakpoints instead of only inside the
mobile drawer's #body slot (which is now redundant, since that same
#right content re-renders inside the mobile menu's own header).

Files

  • docs/app/components/AppHeader.vue (new): a Nuxt layer override of
    comark-docs' AppHeader.vue, following the same shadowing convention
    already used by docs/app/components/AppHeaderBrand.vue.

🤖 Generated with the help of an agent

Shadows comark-docs' AppHeader to add a UColorModeButton next to the
version history button in the persistent header, so it's reachable at
all breakpoints instead of only inside the mobile drawer's body slot.
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
devframe Ready Ready Preview Aug 27, 2026 7:11am

@antfu
antfu merged commit fa37a62 into main Aug 27, 2026
10 of 11 checks passed
@antfu
antfu deleted the frank-zoos-stick branch August 27, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants