The latest versions of the icons. The public API will always reference these files.
./dist
is not checked into source control.
const icons = require("@cypress/icons")
// get the absolute path to default favicon
icons.getPathToFavicon("favicon-blue.ico")
// => /Users/.../dist/favicon/favicon-blue.ico
// get the absolute path to icon
icons.getPathToIcon("[email protected]")
// => /Users/.../dist/icons/[email protected]
To build the MacOS icons you have to use the iconutil
command line tool installed.
This command line tool is only installed on MacOS.
If you are not on MacOS, the building of this icon will simply be skipped. If you are not on MacOS, the building of this icon will be skipped instead of erroring.
All the icons are in the assets directory.
## run build to dump to ./dist
yarn build
yarn test