0.1.1 • Published 2 months ago

@ilo-org/icon-build-helpers v0.1.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

# ILO Design System - Icon Build Helpers

Status: Proof of Concept

Build helpers for ILO's Design System icon library

Getting started

To install @ilo-org/icon-build-helpers in your project, you will need to run the following command using npm:

npm install -S @ilo-org/icon-build-helpers

If you prefer Yarn, use the following command instead:

yarn add @ilo-org/icon-build-helpers

Usage

@ilo-org/icon-build-helpers is a private module in the Carbon Design System monorepo. The purpose of this module is to centralize tooling for:

  • Searching a directory of .svg assets and structuring them in terms of size and prefixes
  • Custom builders for various libraries, which currently include:
    • Vanilla
    • React
  • Implementing repo status checks in CI around icon metadata files, namely metadata.yml and categories.yml

As a result, these file power the generation of the following SVG-based projects:

  • @ilo-org/icons
  • @ilo-org/icons-react

🙌 Contributing

We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide! 👀

📝 License

Licensed under the MIT.