Add Toc, Search box, Dark mode scrollbar#68
Open
woeoio wants to merge 6 commits intotwinbasic:mainfrom
Open
Conversation
Add a floating TOC sidebar that automatically updates based on scroll position. Includes responsive design and dark mode support. The TOC is generated from headings (h2-h4) and includes smooth scrolling to anchors.
Add !important to dark mode TOC styles and update selectors for better specificity
Contributor
Author
Contributor
Author
Implement a search modal that moves the existing search component into an overlay. Includes styling for the modal, trigger button, and dark mode support. Adds keyboard shortcut (Cmd/Ctrl+K) to toggle the modal.
Update search input and label styles for better UX, add dark mode support, and adjust search button placement in header
Add !important to all dark mode search modal styles and adjust colors for better visual consistency. Make search results background transparent.
Contributor
Author
🎉 PR: Add VitePress-style Search Modal & Fix Dark Mode Bug✨ Features
🐛 Bug Fixes
🔧 Technical Changes
🎨 Design Highlights
🌐 Browser Compatibility
Ready to merge! 🚀 |
Contributor
Author
bandicam.2026-02-16.16-56-48-428.mp4 |
Contributor
Author
|
🎨 Add dark mode scrollbar styling
Preview: Scrollbars now match the dark mode theme with subtle gray tones (#404040 thumb, #1a1a1a track) |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






Add Floating Table of Contents (TOC) for Documentation Pages 📑
Summary ✨
This PR adds a VitePress-style floating table of contents to automatically generate navigation links from page headings (H2-H4). The TOC appears on the right side of content pages and supports scroll highlighting. 🎯
Features 🚀
Changes 📝
_config.yml⚙️heading_anchors: true) for native anchor link supportassets/js/toc.js🆕_sass/custom/custom.scss🎨_includes/head_custom.html🔗toc.jsTechnical Details 🔧
IntersectionObserverfor performant scroll trackingTesting ✅