From f33bf7ce6ad2ceb27ced8580cab97693c3233e11 Mon Sep 17 00:00:00 2001 From: brabli <67018167+Brabli@users.noreply.github.com> Date: Mon, 26 Jun 2023 21:31:22 +0100 Subject: [PATCH] Update README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 737a9ec..05d832e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Use icons inside of Twig templates with ease! Project must be using Tailwind for ```php -{{ icon({ icon: 'person' }) }} +{{ pcm_icon({ icon: 'person' }) }} ``` ## Config @@ -12,6 +12,9 @@ Example config: ```yaml # config/packages/pcm_icon.yaml pcm_icon: + default: + size: 32 + colour: primary directories: - '%kernel.project_dir%/public/icons' colours: @@ -30,6 +33,7 @@ pcm_icon: fill-group-hover: 'group-hover:fill-red-800' stroke-group-hover: 'group-hover:stroke-red-800' ``` +# @TODO default options `directories` - Which directories to look in for icons.