Add color configuration guide to themes#3432
Closed
mintlify[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| Avoid using pure white (`#FFFFFF`) or pure black (`#000000`) as accent colors. They often create contrast issues and don't work well across both light and dark modes. | ||
| </Warning> | ||
|
|
||
| </div> |
There was a problem hiding this comment.
Extra closing div breaks page layout structure
High Severity
The newly added </div> at line 348 creates an unmatched closing tag. Before this change, the file had two opening <div> tags (lines 33 and 40) balanced by two closing </div> tags (lines 58 and what is now line 350). The new </div> makes three closing tags for only two opens, which will break the page's HTML structure and likely cause rendering issues.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Added comprehensive color configuration documentation to help users understand and troubleshoot theme colors. The new section covers color properties, common patterns, testing steps, troubleshooting guides, and theme-specific behavior.
Files changed
customize/themes.mdx- Added "Understanding color configuration" section with detailed guidance on primary/light/dark colors, common patterns, testing procedures, troubleshooting tips, and best practicesNote
Low Risk
Documentation-only changes; no runtime or configuration parsing behavior is modified.
Overview
Adds a new “Understanding color configuration” section to
customize/themes.mdxexplaining howdocs.jsoncolors.primary,colors.light, andcolors.darkare applied across light/dark modes.Includes example configuration patterns, guidance for testing/accessibility (contrast checks and interaction states), troubleshooting for common pitfalls (e.g., low contrast, invisible buttons), and a brief theme-by-theme summary of color usage plus best-practice recommendations.
Written by Cursor Bugbot for commit c8411d7. This will update automatically on new commits. Configure here.