@trilogy-ds/assets

0.0.1-beta.35 • Public • Published

@trilogy-ds/assets

npm


@trilogy-ds/assets is a direct dependency of @trilogy-ds/react. It includes all open-source fonts and icons from Trilogy.

It provides to the <Icon/> component, the path information from the IconPath.ts file (which is the paths to the icons) and the IconName file (which is an enum for the icon names).

Installation

Download the package by running:

npm install @trilogy-ds/assets

Scripts 💻

This package includes the following scripts using npm:

  1. optimise:icons: This script uses SVGO to optimize all icons in the assets/icons/all directory. The optimized icons are stored in lib/icons/all.

  2. build: This script runs the optimise:icons script, compiles Typescript files, and finally, copies all fonts from assets/fonts/ to lib/fonts/.

License

This package is licensed under the ISC license.

Readme

Keywords

none

Package Sidebar

Install

npm i @trilogy-ds/assets

Weekly Downloads

107

Version

0.0.1-beta.35

License

ISC

Unpacked Size

634 kB

Total Files

25

Last publish

Collaborators

  • bytel