[GTMBot] Restructure dark mode docs#141
Open
izhan wants to merge 2 commits into
Open
Conversation
- New: learn/theme/dark-mode.mdx — tighter designer article matching responsive-design.mdx structure - Rewrite: guides/dark-mode.mdx — narrowed to toggle implementation only - Update: customizing-theme.mdx — one-sentence dark mode subsection under Colors - Update: exporting-theme.mdx — cross-link to Learn article - Update: docs.json — add dark-mode to Learn > Theme nav
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
- Use <Steps> component for toggle procedures (matches installation.mdx pattern) - Add missing Vite/React steps: wrap app + add toggle button - Explain generated code inline instead of linking out - Move dark-mode to end of nav in both Guides and Theme - Fix ambiguous language around CSS variables and class toggling
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.
Restructures dark mode docs. Closes #140.
Changes
New:
learn/theme/dark-mode.mdxDesigner article under Learn > Theme. Three sections: Adding dark mode, Removing dark mode, Code export. Matches the structure and voice of
responsive-design.mdx.Rewritten:
guides/dark-mode.mdx→ "Dark mode toggle"Developer guide narrowed to toggle implementation. Tabs for Next.js (next-themes) and Vite/React.
Updated:
customizing-theme.mdxOne-sentence dark mode subsection under Colors with link to the Learn article.
Updated:
exporting-theme.mdxCross-link updated to point to Learn article.
Updated:
docs.jsonAdded
learn/theme/dark-modeto Learn > Theme nav.TODO