You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pug/contents/icons_content.html
+57-26
Original file line number
Diff line number
Diff line change
@@ -3,39 +3,69 @@
3
3
<divclass="col s12 m8 offset-m1 xl7 offset-xl1">
4
4
5
5
<divid="usage" class="scrollspy">
6
-
<pclass="caption">We use Google Material Icons by Google. They provide a <ahref="https://jossef.github.io/material-design-icons-iconfont/">searchable list</a> (which we do not include in the documentation here), which will also show you the relevant icon names for the CSS classes. You can download the icons directly from the <ahref="https://google.github.io/material-design-icons/#icon-font-for-the-web">Material Design specs</a>.</p>
6
+
<pclass="caption">We use Google Material Icons by Google. They provide a <ahref="https://fonts.google.com/icons?icon.set=Material+Icons">searchable list</a> (which we do not include in the documentation here), which will also show you the relevant icon names for the CSS classes. You can download the icons directly from the <ahref="https://google.github.io/material-design-icons/#icon-font-for-the-web">Material Design specs</a>.</p>
7
+
<pclass="caption">In addition to Material Icons, we also provide support to every variation of <ahref="https://fonts.google.com/icons?icon.set=Material+Symbols">Material Symbols</a> set (outlined, rounded and sharp).</p>
7
8
<h3class="header">Usage</h3>
8
-
<p>To be able to use these icons, you must include this line in the <codeclass="language-markup"><head></code>portion of your HTML code</p>
9
+
<p>To be able to use these icons, you must include one of the following lines in the <codeclass="language-markup"><head></code>portion of your HTML code</p>
<p>To use these icons, use either the material-icons class or the corresponding material-symbols set class on an element and provide the ligature as the text content.</p>
12
20
<pre><codeclass="language-markup">
13
-
<i class="material-icons">add</i>
14
-
</code></pre>
21
+
<i class="material-icons">add</i>
22
+
<!-- Use one of the following if opted by material symbols -->
<p>To control the size of the icon, change the <codeclass="language-css">font-size: 30px</code> property of your icon. Optionally you can use preset classes as shown below.</p>
0 commit comments