-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Move fonts to new structure #1490
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
base: master
Are you sure you want to change the base?
Changes from 7 commits
7002451
ca724a1
8afaaa4
6b2c9e7
9973483
a0014be
bfed7d7
aca47b2
5a05523
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,13 @@ | ||
| This is the directory for Material Icons; the newer Material Symbols are at [../variablefont](https://github.com/google/material-design-icons/tree/master/variablefont). | ||
| This directory contains the Material Symbols font files; the older Material Icons (non-variable) fonts are at [/material-icons](https://github.com/google/material-design-icons/tree/master/font/material-icons). | ||
|
|
||
| Material Icons are the non-variable classic icon fonts, while the Material Symbols variable fonts offer weight, optical size, grade and fill variations (with grade and Fill being intended also for animated effects). | ||
| The Material Symbols variable fonts offer weight, optical size, grade and fill variations (with grade and Fill being intended also for animated effects). Material Symbols are the non-variable classic icon fonts, while | ||
|
|
||
| The recommended way to use the Material Icons font is by linking to the web font hosted on Google Fonts: | ||
| The recommended way to use the Material Symbols font is by linking to the web font hosted on Google Fonts: | ||
|
|
||
| ```html | ||
| <!-- https://material.io/resources/icons/?style=baseline --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The issue is in the first tag for Material Icons, which is missing a closing >; it should be: |
||
| <link href="https://fonts.googleapis.com/css2?family=Material+Symbols" | ||
| rel="stylesheet"> | ||
|
|
||
| <!-- https://material.io/resources/icons/?style=outline --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons+Outlined" | ||
| rel="stylesheet"> | ||
|
|
||
| <!-- https://material.io/resources/icons/?style=round --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons+Round" | ||
| rel="stylesheet"> | ||
|
|
||
| <!-- https://material.io/resources/icons/?style=sharp --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons+Sharp" | ||
| rel="stylesheet"> | ||
|
|
||
| <!-- https://material.io/resources/icons/?style=twotone --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons+Two+Tone" | ||
| rel="stylesheet"> | ||
| ``` | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| This directory contains the older Material Icons (non-variable) fonts. | ||
|
|
||
| The newer Material Symbols are one level up in the "font" directory. The Material Symbols variable fonts offer weight, optical size, grade and fill variations (with grade and Fill being intended also for animated effects). Material Symbols are the non-variable classic icon fonts, while | ||
|
|
||
| The recommended way to use the Material Icons font is by linking to the web font hosted on Google Fonts: | ||
|
|
||
| ```html | ||
| <!-- https://material.io/resources/icons/?style=baseline --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons" | ||
| rel="stylesheet"> | ||
|
|
||
| <!-- https://material.io/resources/icons/?style=outline --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons+Outlined" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct version:- There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ASMAH SAAD There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ASMAH SAAD EL DIN MA |
||
| rel="stylesheet"> | ||
|
|
||
| <!-- https://material.io/resources/icons/?style=round --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons+Round" | ||
| rel="stylesheet"> | ||
|
|
||
| <!-- https://material.io/resources/icons/?style=sharp --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons+Sharp" | ||
| rel="stylesheet"> | ||
|
|
||
| <!-- https://material.io/resources/icons/?style=twotone --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Material+Icons+Two+Tone" | ||
| rel="stylesheet"> | ||
| ``` | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| The variable fonts that were formerly in this directory are now in the “font” directory instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Paragraph ends in an incomplete sentence (resulting from copy-n-paste I think)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Fixed.
(Also fixed a code snippet that referenced the font incorrectly.)