Skip to content

[GTMBot] Restructure dark mode docs#141

Open
izhan wants to merge 2 commits into
mainfrom
gtmbot/restructure-dark-mode-docs-v2
Open

[GTMBot] Restructure dark mode docs#141
izhan wants to merge 2 commits into
mainfrom
gtmbot/restructure-dark-mode-docs-v2

Conversation

@izhan
Copy link
Copy Markdown
Contributor

@izhan izhan commented May 5, 2026

Restructures dark mode docs. Closes #140.

Changes

New: learn/theme/dark-mode.mdx
Designer 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.mdx
One-sentence dark mode subsection under Colors with link to the Learn article.

Updated: exporting-theme.mdx
Cross-link updated to point to Learn article.

Updated: docs.json
Added learn/theme/dark-mode to Learn > Theme nav.

TODO

  • Screenshot for dark mode color tokens in Learn article

- 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
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 5, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Subframe 🟢 Ready View Preview May 5, 2026, 6:44 AM

💡 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
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.

1 participant