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.