Skip to content

Commit d72aa7e

Browse files
committed
minor #2226 [UX Icons] Some updates in the full configuration example docs (javiereguiluz)
This PR was squashed before being merged into the 2.x branch. Discussion ---------- [UX Icons] Some updates in the full configuration example docs | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | - below instead --> | License | MIT I propose to also show some options with problematic characters in their names (`:`, `-`) to let readers know how to use them. Commits ------- 4a07c66 [UX Icons] Some updates in the full configuration example docs
2 parents 3592e6d + 4a07c66 commit d72aa7e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/Icons/doc/index.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -541,30 +541,30 @@ Full Configuration
541541
542542
# config/packages/ux_icons.yaml
543543
ux_icons:
544-
# The local directory where icons are stored.
544+
# The local directory where icons are stored
545545
icon_dir: '%kernel.project_dir%/assets/icons'
546546
547-
# Default attributes to add to all icons.
547+
# Default attributes to add to all icons
548548
default_icon_attributes:
549-
# Default:
550549
fill: currentColor
550+
'font-size': '1.25em'
551551
552-
# Icon aliases (alias => icon name).
552+
# Icon aliases (alias => icon name)
553553
aliases:
554-
# Exemple:
555554
dots: 'clarity:ellipsis-horizontal-line'
555+
'tabler:save': 'tabler:device-floppy'
556556
557-
# Configuration for the "on demand" icons powered by Iconify.design.
557+
# Configuration for the "on demand" icons powered by Iconify.design
558558
iconify:
559559
enabled: true
560560
561-
# Whether to use the "on demand" icons powered by Iconify.design.
561+
# Whether to use the "on demand" icons powered by Iconify.design
562562
on_demand: true
563563
564-
# The endpoint for the Iconify API.
564+
# The endpoint for the Iconify API
565565
endpoint: 'https://api.iconify.design'
566566
567-
# Whether to ignore errors when an icon is not found.
567+
# Whether to ignore errors when an icon is not found
568568
ignore_not_found: false
569569
570570
Learn more

0 commit comments

Comments
 (0)