Feature #89371

FontawesomeIconProvider - styling

Added by Stig Nørgaard Færch 11 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-10-08
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

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']
    )

Also available in: Atom PDF