Font styles get overriden by ngx-material-timepicker font stylesSee original GitHub issue
When I add ngx-material-timepicker to one of my component, it overrides my entire application font styles to a bolder font.
And I could figure out it is someway related to
@import "~@angular/material/prebuilt-themes/indigo-pink.css"; which is a global setting in my styles.scss
- Created 4 years ago
- Comments:11 (6 by maintainers)
Top GitHub Comments
Maybe it’s a dumb question, but why download the font at all? I don’t want to make that request, if I don’t use this font.
Your style relies on Roboto, but has sans-serif as a fallback. In my opinion it’s up to the user, to provide the correct font-settings in the global styles. This makes it even easier to integrate the timepicker in the project-design, because the user does not have to worry about it
However: great work with the timepicker 😃