Issue Feature Closed

#89371FontawesomeIconProvider - styling

Stig Nørgaard Færch 10/08/19, 11:30 updated 09/23/22, 17:19

Description

When making an backend module, I’m using Font Awesome icons and the FontawesomeIconProvider.
One problem though, is that it is not easy to define a background color.

It would be really nice if there was an option for styling the background – for example:

    $iconRegistry->registerIcon(
        'ext_backendusermanager-module',
        \TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
        ['name' => 'user', 'background' => '#0000FF']
    )

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.