Files
pcm-icon-bundle/README.md
2022-08-29 23:17:07 +01:00

42 lines
1.8 KiB
Markdown

# PCM Icon Bundle
# WIP DON'T USE YET
Example config:
```yml
pcm_icon:
directories:
- '%kernel.project_dir%/public/icons'
palletes:
primary:
fill: 'fill-primary'
stroke: 'stroke-primary'
fill-hover: 'hover:fill-primary'
stroke-hover: 'hover:stroke-primary'
fill-group-hover: 'group-hover:fill-primary'
stroke-group-hover: 'group-hover:stroke-primary'
highlight:
fill: 'fill-highlight'
stroke: 'stroke-highlight'
fill-hover: 'hover:fill-highlight'
stroke-hover: 'hover:stroke-highlight'
fill-group-hover: 'group-hover:fill-highlight'
stroke-group-hover: 'group-hover:stroke-highlight'
white:
fill: 'fill-white'
stroke: 'stroke-white'
fill-hover: 'hover:fill-white'
stroke-hover: 'hover:stroke-white'
fill-group-hover: 'group-hover:fill-white'
stroke-group-hover: 'group-hover:stroke-white'
# PALLETE_NAME:
# fill: 'fill-COLOUR'
# stroke: 'stroke-COLOUR'
# fill-hover: 'hover:fill-COLOUR'
# stroke-hover: 'hover:stroke-COLOUR'
# fill-group-hover: 'group-hover:fill-COLOUR'
# stroke-group-hover: 'group-hover:stroke-COLOUR'
```
Remember to add './config/packages/*.yaml' as a value in your Tailwind config content array.