Skip to content

Commit b5dd8e6

Browse files
committed
[Profiler] Add a tip about profiler icons
1 parent dc5e1a7 commit b5dd8e6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

profiler.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,12 @@ block and set the value of two variables called ``icon`` and ``text``:
362362
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: false }) }}
363363
{% endblock %}
364364

365+
.. tip::
366+
367+
Symfony Profiler icons are selected from `Tabler icons`_, a large and open
368+
source collection of SVG icons. It's recommended to also use those icons for
369+
your own profiler panels to get a consistent look.
370+
365371
.. tip::
366372

367373
Built-in collector templates define all their images as embedded SVG files.
@@ -510,3 +516,4 @@ you'll need to configure the data collector explicitly:
510516
511517
.. _`Single-page applications`: https://en.wikipedia.org/wiki/Single-page_application
512518
.. _`Blackfire`: https://blackfire.io/docs/introduction?utm_source=symfony&utm_medium=symfonycom_docs&utm_campaign=profiler
519+
.. _`Tabler icons`: https://github.com/tabler/tabler-icons

0 commit comments

Comments
 (0)