Incorrect button and toolbar font weight
See original GitHub issueBug report:
According to the Material Design Typography spec, buttons and the app bar should have medium font weights. However, if the correct Roboto fonts are included, they appear bold. This does not appear on the Angular Material site because the Roboto 500 font weight is not included.
What is the expected behavior?
The button and toolbar typography should have a font weight of 400.
What is the current behavior?
The button and toolbar font weight is set to 500
What are the steps to reproduce?
- Create an app that uses the toolbar and buttons (see StackBlitz starter)
- Include the Roboto font weights in index.html
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
What is the use-case or motivation for changing an existing behavior?
To align with material spec.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular: 5.0.0 material: 5.0.0
Is there anything else we should know?
Downstream issue Teradata/covalent#1012
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Incorrect button and toolbar font weight · Issue #8895 - GitHub
Incorrect button and toolbar font weight #8895 ... The button and toolbar typography should have a font weight of 400.
Read more >Appbar color, toolbar color, text, font and buttons are not ...
You set button text color under AppBarTheme not in textTheme which you refer in your FlatButton . This may fix your problem.
Read more >Firefox 90.0.1: Increase just toolbar and tab fonts?
Got my menu bar's fonts just right, but the fonts on the bookmarks, address toolbar and tabs need to be made larger.
Read more >Make the text bold - Microsoft Support
Move your pointer to the Mini toolbar above your selection and click Bold Bold icon . Click Bold Bold icon in the Font...
Read more >The font is incorrect in a merged letter when using Write a ...
Change the document style to Normal: In Microsoft Word, highlight the text to change. On the menu bar, select Format, Styles and Formatting....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apologies - read the thread incorrectly, re-opening for investigation
@andrewseguin I see you closed the issue, but the official Material Design site and Polymer paper toolbar use font-weight:400 for toolbars
https://material.io/guidelines/components/toolbars.html
https://www.webcomponents.org/element/PolymerElements/paper-toolbar/demo/demo/index.html
Are those two wrong?
Also, the Angular Material site isn’t even loading the 500 weight, it uses
<link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono:300" rel="stylesheet">
which has the appearance of 400Is that wrong as well?