Skip to content

Commit

Permalink
[TASK] Replace FontAwesome icons with typo3 icons
Browse files Browse the repository at this point in the history
To provide a consistent look&feel and to eventually phase out
FontAwesome in the TYPO3 backend, all remaining fa-* icons are replaced
with their counterparts from the @typo3/icons package.

The CSS class `icon-emphasized` is introduced as a drop-in replacement
for the `fa-stack` construct:

```
<span class="icon-emphasized">
    <core:icon identifier="my-icon-identifier" size="small"/>
</span>
```

The removal of the FontAwesome integration will follow in a separate
patch.

Resolves: #97877
Releases: main
Change-Id: I0e9ca1e4a918b3f44969ea9886ec0cd1e56d78be
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75041
Tested-by: core-ci <[email protected]>
Tested-by: Nikita Hovratov <[email protected]>
Tested-by: Benni Mack <[email protected]>
Reviewed-by: Nikita Hovratov <[email protected]>
Reviewed-by: Benni Mack <[email protected]>
  • Loading branch information
andreaskienast authored and bmack committed Jul 27, 2022
1 parent 5fbf4b8 commit d13afd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Partials/ObjectBrowserTree.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
data-action-submit="$form"
data-form-values="{ts:astCurrentObjectPathAsJson(currentObjectPath: currentObjectPath, key: '{type}Collapse')}"
>
<i class="fa"></i>
<core:icon identifier="actions-caret-down"/>
</a>
</f:then>
<f:else>
Expand All @@ -29,7 +29,7 @@
data-action-submit="$form"
data-form-values="{ts:astCurrentObjectPathAsJson(currentObjectPath: currentObjectPath, key: '{type}Expand')}"
>
<i class="fa"></i>
<core:icon identifier="actions-caret-right"/>
</a>
</f:else>
</f:if>
Expand Down

0 comments on commit d13afd5

Please sign in to comment.