Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 2.05 KB

README.md

File metadata and controls

38 lines (24 loc) · 2.05 KB

bcc-icons

Icons used in the BCC design system, adapted from Material Symbols.

version license install size

The basis of this package are the rounded SVG icons from Material Symbols. Some icons might be redesigned by the design team in the future and replace the default icons.

Installation & Usage

Refer to the documentation for installation instructions and usage information.

Updating Icons

Custom/Override Icons

Add custom icons to then custom-icons folder. These will be merged on to the default icons during build.

Ensure to replace the fill attribute with currentColor to allow for color overrides.

Google Icons

Do not edit icons in the google-icons directory, instead add a file with the same name in the custom-icons which will then override the same google icon

pnpm install

Download and optimise the Google icons:

pnpm google-icons

Releasing a new version

A new version can be released by running the Create New Version workflow from GitHub. This will update the version in the package.json, push a Git commit and tag, and create a new release in GitHub. Maintainers can publish this release, after which the new version will be pushed to npm with the latest tag.

All commits to master will be released under the dev tag on npm, so they can be tested and installed immediately even if a new release hasn't come out.

License

This package is licensed under the Apache 2.0 license.