-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Not planned
Labels
Description
Is this a regression?
- Yes, this behavior used to work in the previous versionTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
The previous version in which this bug was not present was
No response
Description
I have a mat-card in a dialog with dark theme, the title text color is black.
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
The text color in mat-card-header should be white.
Actual Behavior
The text color in mat-card-header is black.
Environment
- Angular: 18.1.0
- CDK/Material: 18.2.8
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): mcsOS
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository

Activity
crisbeto commentedon Oct 16, 2024
It's hard to tell what might be going on based purely on a screenshot. I'm guessing that the theme isn't being applied inside the dialog.
wagnermaciel commentedon Oct 18, 2024
Could you provide a stackblitz example reproducing the issue?
gremmil commentedon Mar 13, 2025
Same problem here with mat-card-title and mat-card-content
jakubweber commentedon Jul 23, 2025
Using mat.theme and color-scheme as documentation mentioned, when dark mode is active title and content has very low contrast color to the background.
adolgachev commentedon Sep 24, 2025
Closing as old and did not receive stack-blitz showing issue, so impossible to debug off of screenshot alone.
angular-automatic-lock-bot commentedon Oct 25, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.