Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

231
Views
Why text in some of my Angular Material component appears to be white?

In some of my mat components, like mat-tab-group, the text appears to be white and invisible. My theme is pink blue-grey. here's the code

<mat-tab-group>
    <mat-tab label="First" > Content 1 </mat-tab>
    <mat-tab label="Second"> Content 2 </mat-tab>
    <mat-tab label="Third"> Content 3 </mat-tab>
</mat-tab-group>

The image of what's going on:

happening2

When highlighted by the cursor happening1

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Okay what I think he problem was that my theme was dark theme. I went to project/index.html and added

<body class="mat-typography mat-app-background">

which changed background to dark

over 4 years ago · Santiago Trujillo Report

0

This is the common problem occuring since Angular Material version 0.11. Components inside toolbars are being colored white. This problem occurs in e.g.: md-toolbar, md-fab-actions, md-raised, and mat-tab.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!