Skip to content

Commit ee78448

Browse files
committed
wip
1 parent 2c7851e commit ee78448

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/Icons/doc/index.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ Informative Icons
344344
If the icon conveys information or a function, it should be given a text alternative that presents
345345
the same content or function, so that it can fulfill the same purpose.
346346

347-
.. code-block:: html+twig
347+
.. code-block:: twig
348348
349349
Today's weather:
350350
{{ ux_icon('cloud-rain', {'aria-label': 'Rainy weather'}) }}
@@ -355,7 +355,7 @@ Functional Icons
355355
If the icon is interactive and performs a function, it should be given a text alternative that
356356
presents the same content or function, so that it can fulfill the same purpose.
357357

358-
.. code-block:: html+twig
358+
.. code-block:: twig
359359
360360
{{ ux_icon('user-profile', {class: 'w-4 h-4', 'aria-label': 'User Profile'}) }}
361361
@@ -370,16 +370,16 @@ presents the same content or function, so that it can fulfill the same purpose.
370370
assistive technologies.
371371

372372

373-
374-
Performances
375-
------------
373+
Performance
374+
-----------
376375

377376
The UX Icons component is designed to be fast. The following are some of
378377
the optimizations made to ensure the best performance possible.
379378

380379

381380
Caching
382381
-------
382+
383383
On-Demand VS Import
384384
^^^^^^^^^^^^^^^^^^^
385385

@@ -390,7 +390,6 @@ many _on-demand_ icons. You can think of importing the icon as *locking it* (sim
390390
``composer.lock`` _locks_ your dependencies).
391391

392392

393-
394393
Icon Caching
395394
~~~~~~~~~~~~
396395

0 commit comments

Comments
 (0)