Skip to content

Commit

Permalink
minor #1994 [Icon] Emphasis HTML syntax requires TwigComponent (smnan…
Browse files Browse the repository at this point in the history
…dre)

This PR was merged into the 2.x branch.

Discussion
----------

[Icon] Emphasis HTML syntax requires TwigComponent

First time HTML syntax is shown, use "tip" (green borders) instead of "note"

Fix: #1993

| Before | After |
| - | - |
| ![Capture d’écran 2024-07-17 à 21 17 54 - Grande](https://github.com/user-attachments/assets/e344aa2c-d0d7-4dfb-bf09-bc4a2efcae14) | <img width="969" alt="Capture d’écran 2024-07-17 à 21 29 14" src="https://github.com/user-attachments/assets/bc5cfa67-801c-4018-8173-8ee9f647e8eb"> |

Commits
-------

f7838b7 [Icon] Emphasis HTML syntax requires TwigComponent
  • Loading branch information
javiereguiluz committed Jul 18, 2024
2 parents 2df113f + f7838b7 commit fb040a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Icons/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ tag:
<!-- you can also add any HTML attributes -->
<twig:ux:icon name="user-profile" height="16" width="16" aria-hidden="true" />

.. note::
.. tip::

To use the HTML syntax, the ``symfony/ux-twig-component`` package must be
installed in your project.
Expand Down

0 comments on commit fb040a4

Please sign in to comment.