Important: Record icons follow the backend colour scheme 

Description 

The three tables of this extension pointed at their icon files directly, through the TCA ctrl.iconfile option. That bypasses the icon registry altogether: the file gets the core provider, which renders the default markup as an <img> tag. An image is opaque to CSS, so the icons kept the colours of their files whatever the backend colour scheme said.

The tables now point at the identifiers academic-study-plan-category , academic-study-plan-module and academic-study-plan-semester through ctrl.typeicon_classes . Those identifiers were already registered in Configuration/Icons.php and unused; they now carry \FGTCLB\AcademicBase\Imaging\IconProvider\CurrentColorSvgIconProvider .

The three files were three-colour illustrations and are redrawn in a single colour, which is what following the text colour means. The shapes are kept: the coloured body becomes an outline, the lighter shapes on it become solid. The module and the semester icon differed in colour and in size only, so they now look alike apart from their proportions.

Impact 

The category, module and semester record icons take the text colour of the backend, so they stay legible in a dark colour scheme - and they no longer carry an orange, teal or grey of their own.

Affected Installations 

Every installation of this extension.