0.1.0 • Published 3 years ago
moire v0.1.0
Moiré
Moiré is the design system and React UI toolkit used by Spectre.
How to develop
Run these commands:
pnpm i
pnpm devAdd an icon
- Open the Phosphor icons Figma file.
- Make sure you are either on the “Light”, “Fill” or “Bold” page, depending on the icon you want (“Light” should be used when possible).
- Export the icon as SVG, and drop the resulting file into
pkg/moire/icons(notpkg/moire/src/icons). - If the icon comes from the “Fill” page, add
Filledto the file name, e.g.Arrow.svg=>ArrowFilled.svg. - If the icon comes from the “Bold” page, add
Boldto the file name, e.g.Arrow.svg=>ArrowBold.svg. - Please keep the original name otherwise.
- Run
pnpm build:iconsto generate the components inpkg/moire/src/icons. - Done!
0.1.0
3 years ago