Skip to content

Add color configuration guide to themes#3453

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

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

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Feb 13, 2026

Added comprehensive color configuration documentation to the themes page. This includes explanations of color properties, common patterns, testing steps, troubleshooting guides, and theme-specific behavior to help users resolve color-related issues.

Files changed

  • customize/themes.mdx - Added new "Understanding color configuration" section with detailed guidance on using primary, light, and dark color properties

Note

Low Risk
Documentation-only change confined to customize/themes.mdx, with no runtime logic or API behavior changes.

Overview
Adds a new “Understanding color configuration” section to customize/themes.mdx documenting how colors.primary, colors.light, and colors.dark in docs.json map to accents/buttons across light and dark modes.

Includes example configurations, guidance on testing (light/dark, WCAG contrast, hover states), troubleshooting common visibility issues, and a brief per-theme overview of how the color fields tend to be applied.

Written by Cursor Bugbot for commit d3d2f24. 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.


</div>

<div className=\"mt-16 prose prose-gray dark:prose-invert max-w-3xl mx-auto\">
Copy link

Choose a reason for hiding this comment

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

Escaped quotes in className break MDX rendering

High Severity

The className attribute on this div uses escaped quotes (\") instead of regular quotes ("), unlike every other className in the file. This will cause the MDX parser to either fail or render the element incorrectly, effectively hiding the entire new color configuration section from users.

Fix in Cursor Fix in Web

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.

0 participants