You could use CSS like this in the template extra.less
Code:
.node-body .node-icon i
{
font-family: 'Font Awesome 5 Duotone';
font-style: normal;
font-weight: 900;
position: relative;
&:before
{
position: absolute;
font-family: inherit;
font-weight: inherit;
color: xf-intensify(@xf-paletteAccent1, 15%);
content: "\f086";
.node--link & { content: "\f0c1"; }
.node--page & { content: "\f15c"; }
}
&:after
{
color: xf-intensify(@xf-paletteAccent1, 5%);
content: "\10f086";
.node--link & { content: "\10f0c1"; }
.node--page & { content: "\10f15c"; }
}
}
Result:
View attachment 213275
Unicode'u Duotone simge sayfasından alabilirsiniz:
https://fontawesome.com/icons/file-alt?style=duotone (birincil / ikincil unicode):
View attachment 213276
Değiştirebilirsiniz:
renk: xf-yoğunlaştırır (@ xf-paletteAccent1,% 15); ve: renk: xf-yoğunlaştırır (@ xf-paletteAccent1,% 5);
kendi renginizle elbette:
renk: rgb (73, 80, 87);
[/ALINTI]