⏫ Upgrade to FontAwesome 6 (#4484)

* ⬆️ Initial FA6 upgrade

Only broken icon noticed so far is announcements header.

Strangely, the plugin manager 'Install' buttons have regained their plus signs.

* Allow plugins to use new FA5/6 icon styles in sidebar

Adds some backwards compatibility testing to allow new icons to work. Icons can be specified with either `fas fa-<icon>` or just `<icon` to use `fa fa-<icon>`. Both will work.

* 🔥 Remove plugin manager plus icon

It was gone for a while, I think I prefer the look of the button without it. No need to have an icon next to it IMO.

* ⬆️ Upgrade to FA 6.1.1

* ◀️ Add back v4 compatibility

And fix preloading V3....

* 🐛 Correct icon style

* 🐛 Fix font preload

Changed to fix dual loading in this PR, but I did it wrong. Now properly fixed.
This commit is contained in:
Charlie Powell authored and GitHub committed 2022-05-11 10:52:53 +02:00
1 parent 500729607d
commit 0cf869a6fe
36 files changed
+8253 -14601

No files matched your search

@@ -95,7 +95,7 @@ class ActionCommandNotificationPlugin(
{
"type": "sidebar",
"name": gettext("Printer Notifications"),
"icon": "bell-o",
"icon": "far fa-bell",
"styles_wrapper": ["display: none"],
"template_header": "action_command_notification_sidebar_header.jinja2",
"data_bind": "visible: loginState.hasPermissionKo(access.permissions.PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW)"