Skip to content

Commit f2fc65b

Browse files
committedNov 23, 2024·
feature #6537 Allow to use different icon sets in the backend (javiereguiluz)
This PR was squashed before being merged into the 4.x branch. Discussion ---------- Allow to use different icon sets in the backend **UPDATE**: I changed the feature behavior completely since the first implementation. We no longer include the entire Tabler icon set (it took more than 22 MB of disk space) but the feature is still flexible and allows you to use any custom icon set, including tabler. ----- This feature is the first that uses a Twig Component. I hope to add many other components soon. Thanks `@yceruto` for publishing a fantastic article about how to use Twig Components in bundles: https://dev.to/yceruto/bundling-your-symfony-ux-twig-components-4997 Commits ------- ce03ecc Allow to use different icon sets in the backend
2 parents 6a613a5 + ce03ecc commit f2fc65b

File tree

2,444 files changed

+4543
-870
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,444 files changed

+4543
-870
lines changed
 

‎UPGRADE.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
Upgrade between EasyAdmin 4.x versions
22
======================================
33

4+
EasyAdmin 4.16.0
5+
----------------
6+
7+
### FontAwesome Icons Are Now Inlined as SVGs
8+
9+
As part of the new feature that allows to use custom icon sets, the FontAwesome
10+
icons included by default in EasyAdmin are now inlined as SVGs. The font files
11+
(.ttf, .woff2) and the CSS file that loads the icons have been removed.
12+
13+
This doesn't require any change on your side, unless you were relying on the
14+
FontAwesome CSS classes to style the icons, which is something undocumented and
15+
not recommended.
16+
417
EasyAdmin 4.14.0
518
----------------
619

‎assets/css/app.css

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
@import "~bootstrap/dist/css/bootstrap.min.css";
22

3-
@import "~@fortawesome/fontawesome-free/css/all.css";
4-
@import "~@fortawesome/fontawesome-free/css/v4-shims.css";
5-
@import "~@fortawesome/fontawesome-free/css/v5-font-face.css";
6-
73
@import "./easyadmin-theme/theme.css";

0 commit comments

Comments
 (0)
Please sign in to comment.