使用 Unicode 将 Ui-Grid 图标与 Font-awesome 交换

Swap Ui-Grid icons with Font-awesome using Unicode

如何使用 Unicode 字体更改用于以下 class 的字体图标。

ui-grid 有以下 classes 作为默认值

.ui-grid-icon-plus-squared:before {
content: '\c350';
 }

 .ui-grid-icon-minus-squared:before {
   content: '\c351';
 }

默认的 unicode 是 c350 和 c351,我已经用 fontawesome unicode 替换了它,如下所示

.ui-grid-icon-plus-squared:before {
content: '\f067';
 }

 .ui-grid-icon-minus-squared:before {
   content: '\f068';
 }

并将超棒的字体文件保存在 ui-grid.css/fonts 文件夹中 它没有更改图标,我需要做更多的更改还是不能像这样工作?

font-family 属性 更改为 awesome 字体,例如:

 .ui-grid-icon-plus-squared:before {
    font-family: "Font Awesome 5 Free"; 
    content: '\f067';
  }

或者你想要的字体。