-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
area: material/cardcannot reproduceThe team is unable to reproduce this issue with the information providedThe team is unable to reproduce this issue with the information providedneeds: clarificationThe issue does not contain enough information for the team to determine if it is a real bugThe issue does not contain enough information for the team to determine if it is a real bug
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
area: material/cardcannot reproduceThe team is unable to reproduce this issue with the information providedThe team is unable to reproduce this issue with the information providedneeds: clarificationThe issue does not contain enough information for the team to determine if it is a real bugThe issue does not contain enough information for the team to determine if it is a real bug
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.