Skip to main content

Dark mode

Result: native classic-theme behavior. The navbar color-mode control can follow the system preference and stores an explicit visitor choice. Docusaurus sets data-theme="light" or data-theme="dark" on the document element.

This project's CSS defines both normal and dark primary colors. The same variables also style the counter, links, focus rings, and search UI.

Author responsibility

Custom components and diagrams still need contrast testing in both modes. Theme support does not make arbitrary authored colors accessible.