By lewisnyman on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.0-alpha1
Issue links:
Description:
In D7 the file icons were printed as part of the file field template:
<span{{ attributes }}>{{ icon }} {{ link }}</span>
The icon template variable has been removed and instead the icons are being added using CSS in:
.file--general {
background-image: url(../icons/application-octet-stream.png);
}If you want to overwrite these icons with your own, you can copy the CSS and point the background image to your chosen icons.
If you want to remove the icons completely, remove the stylesheet: file.formatter.generic.css
Impacts:
Module developers
Themers