Questions tagged «google-material-icons»

15
如何使用新的“材料设计”图标主题:“轮廓”,“圆角”,“二音”和“锐利”?
Google 用4个新的预设主题修改了其Material Design图标: 除了常规的填充/基线主题外,还包括轮廓,圆角,二音和锐利: 但是,不幸的是,它在任何地方都没有说明如何使用新主题。 我一直通过包括以下链接通过Google Web字体使用它: <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> 然后按照文档中的建议使用所需的图标: <i class="material-icons">account_balance</i> 但它始终显示“已填充/基线”版本。 我尝试执行以下操作来代替使用大纲主题: <i class="material-icons">account_balance_outlined</i> <i class="material-icons material-icons-outlined">account_balance</i> 然后,将“网络字体”链接更改为: <link href="https://fonts.googleapis.com/icon?family=Material+Icons&style=outlined" rel="stylesheet"> 等等,但是不起作用。 那样在黑暗中拍摄是没有意义的。 tl; dr:有人尝试过使用新主题吗?它甚至可以像基准版本(嵌入式html标记)一样工作吗?还是仅以SVG或PNG格式下载? 提前致谢。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.