@codeday/topocons
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Topocons

These icons are only licensed for use by CodeDay. Sorry!

In topocons 2, imports have changed! Take a look below.

Use

Import format:

import { [IconName] } from `@codeday/topocons`

<[IconName] />
import { Illuminati } from `@codeday/topocons`

<Illuminati />

How it works

generate icons:

  • svgo: optimizes svgs and tries its best to remove all the colors
  • create-chakra-icons (using @nexite/create-chakra-icons to allow generating individual files): generates tsx files for each svg
  • idxgen: creates index.ts that exports each icon in a tree shaking friendly way
  • replace: finishes removing any remaining colors

build:

  • uses tsup to bundle and transpile our ts into cjs and esm

Maybe helpful commands

download submodules (private repo)

git pull --recurse-submodules

download dependencies

yarn install

generate icons

yarn generate-icons

build (use build:fast to build w/o types)

yarn build

all done!

Readme

Keywords

none

Package Sidebar

Install

npm i @codeday/topocons

Weekly Downloads

4

Version

2.0.2

License

UNLICENSED

Unpacked Size

324 kB

Total Files

5

Last publish

Collaborators

  • oohwooh
  • tylermenezes
  • ottomated
  • nexite