From b5dd8e64d4a036d9b828af305eea7989cd1289f3 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 7 Feb 2023 15:17:31 +0100 Subject: [PATCH] [Profiler] Add a tip about profiler icons --- profiler.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/profiler.rst b/profiler.rst index d519aad46a0..a5ebc5303b5 100644 --- a/profiler.rst +++ b/profiler.rst @@ -362,6 +362,12 @@ block and set the value of two variables called ``icon`` and ``text``: {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: false }) }} {% endblock %} +.. tip:: + + Symfony Profiler icons are selected from `Tabler icons`_, a large and open + source collection of SVG icons. It's recommended to also use those icons for + your own profiler panels to get a consistent look. + .. tip:: 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: .. _`Single-page applications`: https://en.wikipedia.org/wiki/Single-page_application .. _`Blackfire`: https://blackfire.io/docs/introduction?utm_source=symfony&utm_medium=symfonycom_docs&utm_campaign=profiler +.. _`Tabler icons`: https://github.com/tabler/tabler-icons