@pluralsight/icons
Version:
Icons for Pluralsight.
45 lines (28 loc) • 1.54 kB
Markdown
# Pluralsight Icons
A library of SVG icons and React/Svelte components.
- [Checkout the docs](https://pluralsight.github.io/pando/docs/development/icons/intro)
## What role does this package play in Pando?
```mermaid
erDiagram
PANDO ||--o{ DESIGN-TOKENS : contains
PANDO ||--o{ ICONS : contains
PANDO ||--o{ HEADLESS-STYLES : contains
PANDO ||--o{ REACT-UTILS : contains
DESIGN-TOKENS ||..|{ NORMALIZE-SETUP : contains
NORMALIZE-SETUP ||..|{ THEMES : contains
HEADLESS-STYLES ||--|{ DESIGN-TOKENS : uses
```
This package produces pure icons solutions to be used in different ways (i.e. SVG or components) and is decoupled from all other packages.
### Icons General Function
The icons package is purely a Node utility that generates different icon types from initial [svg files](https://github.com/pluralsight/pando/tree/main/packages/icons/src).
## Install
This project uses pnPm so there are no setup commands needed. If you get any errors, you may need to run an initial `pnpm install` or esnure you are using Node >= 18.
## Development
There is no development environment for this package.
## Testing
To run your unit tests, make sure you are in the **project root directory** not this workspace - and run:
```bash
pnpm test
```
## Contribution
If you plan on contributing to this project, please take time to read our [CONTRIBUTING.md](https://github.com/pluralsight/pando/blob/main/CONTRIBUTING.md). Pull requests that do not adhere to the requirements in this doc will automatically be flagged and closed.