marella / material-icons

Latest icon fonts and CSS for self-hosting material design icons.
https://marella.github.io/material-icons/demo/
Apache License 2.0
305 stars 36 forks source link

Missing icon: shortcut #27

Closed roushan closed 2 years ago

roushan commented 2 years ago

Hi there!

Just wanted to let you know that there is icon which I can see in the demo , but is missing in the files (I don't see it in the scss), and respectively can't be used. The icon is shortcut.

Cheers!

marella commented 2 years ago

Hi, are you using ligatures or CSS classes to display icon? If you are using ligatures, you can directly use <span class="material-icons">shortcut</span> and the icon name need not to be present in CSS/SCSS. If you are using CSS classes, you can use <span class="material-icons mi-shortcut"></span> which is declared in https://github.com/marella/material-icons/blob/383d560b81552793e6f0033cc8ba468f846f6622/css/material-icons.css#L6434 Also make sure you are using the latest version.

roushan commented 2 years ago

Thank you! It's on my side then. Thanks a lot for the hints where and what to look for.