Skip to content

Commit 68fca43

Browse files
committed
[UXIcons] Add recipe
1 parent 1efd453 commit 68fca43

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Full configuration reference: https://symfony.com/bundles/ux-icons/current/index.html#configuration
2+
ux_icons:
3+
4+
# Default HTML attributes to add to all icons
5+
default_icon_attributes:
6+
7+
# Use current text color to fill the icon
8+
fill: currentColor
9+
10+
# Default dimensions
11+
height: '1em'
12+
width: '1em'
13+
14+
# Throw an exception if an icon is not
15+
ignore_not_found: false
16+
17+
when@prod:
18+
ux_icons:
19+
# Suppress exceptions for missing icons in production
20+
ignore_not_found: true
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"bundles": {
3+
"Symfony\\UX\\Icons\\UXIconsBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"assets/": "assets/",
7+
"config/": "%CONFIG_DIR%/"
8+
}
9+
}

0 commit comments

Comments
 (0)