angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.39k stars 6.76k forks source link

bug(mat-card): mat-card-header wrong text color #29881

Open CourserStudio opened 1 month ago

CourserStudio commented 1 month ago

Is this a regression?

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.

Image

Reproduction

StackBlitz link: Steps to reproduce:

Expected Behavior

The text color in mat-card-header should be white.

Actual Behavior

The text color in mat-card-header is black.

Environment

crisbeto commented 1 month ago

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 commented 1 month ago

Could you provide a stackblitz example reproducing the issue?