Symfony ux:icons - Added Icons.

This commit is contained in:
2025-06-05 21:07:14 +02:00
parent 280179ca7e
commit 2e3a9031c9
15 changed files with 191 additions and 10 deletions
+1
View File
@@ -14,4 +14,5 @@ return [
Nelmio\ApiDocBundle\NelmioApiDocBundle::class => ['all' => true],
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
Symfony\UX\TwigComponent\TwigComponentBundle::class => ['all' => true],
Symfony\UX\Icons\UXIconsBundle::class => ['all' => true],
];
+24
View File
@@ -0,0 +1,24 @@
ux_icons:
# The local directory where icons are stored
icon_dir: "%kernel.project_dir%/assets/icons"
# Default attributes to add to all icons
default_icon_attributes:
width: "1.25em"
# Icon aliases (alias => icon name)
aliases:
"tabler:save": "tabler:device-floppy"
# Configuration for the "on demand" icons powered by Iconify.design
iconify:
enabled: true
# Whether to use the "on demand" icons powered by Iconify.design
on_demand: true
# The endpoint for the Iconify API
endpoint: "https://api.iconify.design"
# Whether to ignore errors when an icon is not found
ignore_not_found: true