Closed
Description
Reproduction
https://stackblitz.com/edit/angular-qrscte
Steps to reproduce:
- Choose Accent color as background
- Click any of the tabs
Expected Behavior
The ripple effect during the click should have opacity.
Actual Behavior
Ripple is solid white, and doesn't have opacity.
Environment
- Angular: 12.2.7
- CDK/Material: 12.2.7
- Browser(s): tested on Chrome, Edge, Safari
- Operating System (e.g. Windows, macOS, Ubuntu): Tested on Windows and Mac
Comment
The same issue happens in mat-tab-nav-bar too.
It seems that the ripple effect cannot handle css variable as bacground-color, so it falls back to solid white instead.