Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
CourserStudio opened this issue Oct 16, 2024 · 2 comments
Open
1 task

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

CourserStudio opened this issue Oct 16, 2024 · 2 comments
Labels
area: material/card cannot reproduce The team is unable to reproduce this issue with the information provided needs: clarification The issue does not contain enough information for the team to determine if it is a real bug

Comments

@CourserStudio
Copy link

Is this a regression?

  • Yes, this behavior used to work in the previous version

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:
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
@CourserStudio CourserStudio added the needs triage This issue needs to be triaged by the team label Oct 16, 2024
@crisbeto
Copy link
Member

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
Copy link
Contributor

Could you provide a stackblitz example reproducing the issue?

@wagnermaciel wagnermaciel added cannot reproduce The team is unable to reproduce this issue with the information provided needs: clarification The issue does not contain enough information for the team to determine if it is a real bug area: material/card and removed needs triage This issue needs to be triaged by the team labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/card cannot reproduce The team is unable to reproduce this issue with the information provided needs: clarification The issue does not contain enough information for the team to determine if it is a real bug
Projects
None yet
Development

No branches or pull requests

3 participants