Skip to content

Remove dark mode and mode switcher from navigation bar #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bhouston opened this issue Mar 7, 2025 · 0 comments · Fixed by #33
Closed

Remove dark mode and mode switcher from navigation bar #31

bhouston opened this issue Mar 7, 2025 · 0 comments · Fixed by #33
Labels
enhancement New feature or request

Comments

@bhouston
Copy link
Member

bhouston commented Mar 7, 2025

Remove dark mode and mode switcher from navigation bar

Problem

The dark mode switcher in the navigation bar creates additional testing overhead without providing sufficient value. The documentation currently has a mode switcher in the top right of the navigation bar.

Current State

Based on the configuration in docusaurus.config.ts, it appears there's a conflict:

  • Line 27-32 has settings to disable the dark mode switcher:
    themeConfig: {
      colorMode: {
        disableSwitch: true,
        defaultMode: 'light',
      },
    },
  • However, the mode switcher is still appearing in the UI

Proposed Solution

  1. Ensure dark mode is properly disabled by fixing any configuration issues
  2. Remove the mode switcher from the navigation bar
  3. Standardize on light mode only for the documentation

Technical Details

The issue might be caused by a conflict in the Docusaurus configuration, as there are two themeConfig objects defined in the config file (one at line 27 and another at line 109). The colorMode settings need to be correctly placed in the configuration structure.

Impact

Removing the dark mode:

  • Reduces testing overhead
  • Simplifies the UI
  • Ensures consistent appearance across the documentation
  • Allows focusing development efforts on improving the core documentation experience
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant