cockroachdb / cockroachdb/cockroach

Add Theme Toggler to Docs Page

Open
#156,918 1 comment 0 reactions 0 assignees View on GitHub
A-docs C-enhancement O-community
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

## **Feature Request: Add Theme Toggler to Docs Page**

## **Is your feature request related to a problem? Please describe.**
It can be difficult to read the documentation for long periods due to the lack of a dark/light mode option. This often causes eye strain, especially in low-light environments.

## **Describe the solution you'd like**
Add a simple **theme toggler** (light/dark mode switch) to the documentation page.
It could be placed in the top-right corner of the navbar and persist across pages and sessions.

## **Describe alternatives you've considered**
- Using browser extensions to invert colors (not ideal)
- Adjusting system or browser themes (inconsistent results)

## **Additional context**
A built-in theme toggler would greatly improve accessibility, comfort, and overall user experience when browsing the docs.

Jira issue: CRDB-56250

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.