Skip to content

Conversation

sanathusk
Copy link
Contributor

Summary
This PR introduces automatic theme switching in Roo Code Docs, allowing the application to detect and apply the user's system color scheme preference (light or dark mode). This enhancement ensures a seamless and personalized user experience by aligning the documentation theme with the user's device settings.

Changes
Detects system color scheme preference using the prefers-color-scheme media query. Automatically applies the light or dark theme based on the user's system settings. Maintains existing manual theme selection as an override Motivation
Many users prefer their apps and websites to match their device's appearance settings. By enabling automatic theme switching, we improve accessibility and user satisfaction without requiring manual configuration.

Summary
This PR introduces automatic theme switching in Roo Code Docs, allowing the application to detect and apply the user's system color scheme preference (light or dark mode). This enhancement ensures a seamless and personalized user experience by aligning the documentation theme with the user's device settings.

Changes
Detects system color scheme preference using the prefers-color-scheme media query.
Automatically applies the light or dark theme based on the user's system settings.
Maintains existing manual theme selection as an override
Motivation
Many users prefer their apps and websites to match their device's appearance settings. By enabling automatic theme switching, we improve accessibility and user satisfaction without requiring manual configuration.
Copy link

changeset-bot bot commented Jun 23, 2025

⚠️ No Changeset found

Latest commit: 2ac4a9d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@tajo tajo merged commit 08856d9 into tajo:main Jul 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants