Skip to content

Comments

Add color configuration guide to themes#3432

Closed
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/theme-color-configuration-guide-58635
Closed

Add color configuration guide to themes#3432
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/theme-color-configuration-guide-58635

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Feb 12, 2026

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 practices

Note

Low Risk
Documentation-only changes; no runtime or configuration parsing behavior is modified.

Overview
Adds a new “Understanding color configuration” section to customize/themes.mdx explaining how docs.json colors.primary, colors.light, and colors.dark are 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.

Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

@ethanpalm ethanpalm closed this Feb 13, 2026
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.

1 participant