Switch to Modern DocFx Theme and Added Dark Mode#1773
Draft
pkbullock wants to merge 6 commits into
Draft
Conversation
Member
|
Dark mode 😍🤩 |
Adam-it
requested changes
Jun 2, 2026
Adam-it
left a comment
Member
There was a problem hiding this comment.
@pkbullock awesome work 👏👏👏
While testing around I noticed a few details I think it would be cool to fixup before we proceed
- The most critical thing is that it seems the sample page does not load
- When minimazing the size it seems we have some width that it starts to look bad but does not jump to the small size menu, it seems the old docs page does a better jump here
Also for small screen manu button I think the hamburger was bettern than the dots
- I know it was like this before but could we along the way adda a favicon for our docs
Comment on lines
+251
to
+262
| /* @media (min-width: 768px) { | ||
| #autocollapse .navbar-toggle { | ||
| display: none !important; | ||
| } | ||
|
|
||
| #autocollapse .navbar-collapse.collapse { | ||
| display: block !important; | ||
| height: auto !important; | ||
| overflow: visible !important; | ||
| padding-bottom: 0; | ||
| } | ||
| } */ |
Member
There was a problem hiding this comment.
maybe if this is not needed we could just remove this part
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.
Closes #1716
Example of new Theme:
--
Copilot Summary
This pull request introduces significant improvements to the documentation site's theming, including the addition of a dark mode toggle, enhancements to the CSS for both light and dark themes, and updates to the DocFX configuration and build process. The changes modernize the site's appearance, provide users with a theme-switching option, and streamline the local documentation build experience.
Theming and UI Enhancements:
DocFX Configuration and Build Process:
.config/dotnet-tools.jsonfor tool management and a PowerShell script (docfx-build-local.ps1) to streamline local builds. [1] [2]docfx.jsonto include the "modern" template and adjusted the footer to reference the "Material Modern UI" theme. [1] [2]File Organization:
materialtemplate directory tomaterial-classicto support coexistence with new template styles. (Fd90b496L17R17, [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]These updates collectively provide a more modern, user-friendly, and customizable documentation experience.