Skip to content

[UX Icons] Some updates in the full configuration example docs #2226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/Icons/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -541,30 +541,30 @@ Full Configuration

# config/packages/ux_icons.yaml
ux_icons:
# The local directory where icons are stored.
# The local directory where icons are stored
icon_dir: '%kernel.project_dir%/assets/icons'

# Default attributes to add to all icons.
# Default attributes to add to all icons
default_icon_attributes:
# Default:
fill: currentColor
'font-size': '1.25em'

# Icon aliases (alias => icon name).
# Icon aliases (alias => icon name)
aliases:
# Exemple:
dots: 'clarity:ellipsis-horizontal-line'
'tabler:save': 'tabler:device-floppy'

# Configuration for the "on demand" icons powered by Iconify.design.
# Configuration for the "on demand" icons powered by Iconify.design
iconify:
enabled: true

# Whether to use the "on demand" icons powered by Iconify.design.
# Whether to use the "on demand" icons powered by Iconify.design
on_demand: true

# The endpoint for the Iconify API.
# The endpoint for the Iconify API
endpoint: 'https://api.iconify.design'

# Whether to ignore errors when an icon is not found.
# Whether to ignore errors when an icon is not found
ignore_not_found: false

Learn more
Expand Down