How to use the new Material Design Icon themes: Outlined, Rounded, Two-Tone and Sharp?

Google has revamped its Material Design Icons with 4 new preset themes:

Outlined, Rounded, Two-Tone and Sharp, in addition to the regular Filled/Baseline theme:


But, unfortunately, it doesn’t say anywhere how to use the new themes.


I’ve been using it via Google Web Fonts by including the link:

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

And then using the required icon as suggested in the documentation:

<i class="material-icons">account_balance</i>

But it always shows the ‘Filled/Baseline’ version.


I’ve tried doing the following to use the Outlined theme instead:

<i class="material-icons">account_balance_outlined</i>
<i class="material-icons material-icons-outlined">account_balance</i>

and, changing the Web Fonts link to:

<link href="https://fonts.googleapis.com/icon?family=Material+Icons&style=outlined" rel="stylesheet">

etc. But it doesn’t work.


And there’s no point in taking shots in the dark like that.


tl;dr: Has anyone tried using the new themes? Does it even work like the baseline version (inline html tag)? Or, is it only meant to be downloaded as SVG or PNG formats?

16 Answers
16

Leave a Comment