@aircall/icons
v0.7.6
Published
Tractor Design icons distributed as SVG React components.
Downloads
6,093
Keywords
Readme
@aircall/icons
This package contains Tractor Design icons distributed as SVG React components.
🔖 Recipes
Adding a new icon
Perform the next steps to correctly add a new icon:
- Ask the Design team for the icon's SVG file.
- Include the SVG file in
src/svgs
and make sure the name follows the existing naming convention. - Open the SVG source code and confirm that it is using one of the following colors:
#101820
,#292F48
or#707479
on all coloring related attributes suchfill
andstroke
. If not, replace the color value with one of the aforementioned values. - Run
pnpm generate:icons
and confirm that the icon component is then created insrc/components
. - To test your newly added icon run
pnpm -- turbo run build --continue --filter=@aircall/icons
then runpnpm sb:dev:tractor
. You can now see your icon in the storybook's icons section.