直接用color属性就可以改了,我在项目里面也用到很多字体图标
直接修改颜色
.mui-icon-gear-filled:before { content: '\e532'; color: #045380; } .mui-icon-extra-order:before { content: "\e113"; color: #5A8C19; } .mui-icon-extra-university:before { content: "\e605"; color: #E51C23; } .mui-icon-extra-peoples:before { content: "\e205"; color: #1590E9; }