Skip to content

Remove dark mode and mode switcher from navigation bar #31

@bhouston

Description

@bhouston

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions