File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ Informative Icons
344
344
If the icon conveys information or a function, it should be given a text alternative that presents
345
345
the same content or function, so that it can fulfill the same purpose.
346
346
347
- .. code-block :: html+ twig
347
+ .. code-block :: twig
348
348
349
349
Today's weather:
350
350
{{ ux_icon('cloud-rain', {'aria-label': 'Rainy weather'}) }}
@@ -355,7 +355,7 @@ Functional Icons
355
355
If the icon is interactive and performs a function, it should be given a text alternative that
356
356
presents the same content or function, so that it can fulfill the same purpose.
357
357
358
- .. code-block :: html+ twig
358
+ .. code-block :: twig
359
359
360
360
{{ ux_icon('user-profile', {class: 'w-4 h-4', 'aria-label': 'User Profile'}) }}
361
361
@@ -370,16 +370,16 @@ presents the same content or function, so that it can fulfill the same purpose.
370
370
assistive technologies.
371
371
372
372
373
-
374
- Performances
375
- ------------
373
+ Performance
374
+ -----------
376
375
377
376
The UX Icons component is designed to be fast. The following are some of
378
377
the optimizations made to ensure the best performance possible.
379
378
380
379
381
380
Caching
382
381
-------
382
+
383
383
On-Demand VS Import
384
384
^^^^^^^^^^^^^^^^^^^
385
385
@@ -390,7 +390,6 @@ many _on-demand_ icons. You can think of importing the icon as *locking it* (sim
390
390
``composer.lock `` _locks_ your dependencies).
391
391
392
392
393
-
394
393
Icon Caching
395
394
~~~~~~~~~~~~
396
395
You can’t perform that action at this time.
0 commit comments