@vivareal/lina-icons
The design system iconography
Installing
Go to root folder and then
make install
Usage
With icAdd
being one of the available icons:
import { icAdd } from "@vivareal/lina-icons"
icAdd
will be the svg markup.
Add a new icon
Add the svg file to src/images
folder and then build the project.
Build the project
make build
This will run svgo
to optimize the icons and write them to dist/images
folder.
Also, it will use rollup
to bundle the icons together and export them as cjs
and esm
to be later imported and tree shook by the consumer project.
Release
Releases are managed by Lerna. Please check the root's README for more infos.