Page MenuHomePhabricator

docs: make the toggle switch for light/dark mode bigger
Open, Needs TriagePublic

Description

Background

In T365178 we enabled the dark mode in the Codex site by adding a toggle switch to turn from light to dark modes. This toggle switch is a bit small and difficult to find within the content of the screen. This task is to evaluate if we can make it bigger (about 32px height) to make it more visible for users.

Technical notes

This is actually a significant undertaking, since this component comes from VitePress and is a bit tricky to style, and as we've seen, sometimes when we customize VitePress's CSS it can come back to bite us later!

Acceptance criteria (or Done)

  • Evaluate if the toggle switch for light/dark mode in Codex can be bigger
  • Update it if possible