Target the card icon
Card icons render with the attributedata-component-part="card-icon". The general icon element selector does not match icons inside cards, so a rule like card icon { } has no effect. Use the data attribute selector instead:
styling.css
.card [data-component-part="card-icon"] if the selector conflicts with other styles.
Save the rule in any .css file in your content directory, which is the folder in your repository that contains your docs.json file. Mintlify loads the file on every page automatically. See Custom scripts for how custom CSS loading works and the full list of available selectors.
Other card parts
Cards expose additionaldata-component-part attributes you can style the same way, including card-title, card-content, card-image, and card-cta. See Custom scripts for the full list.