@eventstore-ui/illustrations
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@eventstore-ui/illustrations

Illustrations for use with the Event Store design system

Install

Add to your project

yarn add @eventstore-ui/illustrations

Usage within a stencil project

In your globalScript file, add an import:

import '@eventstore-ui/illustrations';

Then you can use the element anywhere in your JSX, html, templates etc.

Adding illustrations

Add your light and dark illustrations to the raw directory, with the naming scheme:

IllustrationName-Dark.svg
IllustrationName-Light.svg

Then run the import script:

yarn import

Check inside src/components/[illustration-name] to ensure that the import worked as expected.

Finally, build the package to generate the types.

yarn build

Readme

Keywords

none

Package Sidebar

Install

npm i @eventstore-ui/illustrations

Weekly Downloads

5

Version

1.0.1

License

Apache-2.0

Unpacked Size

5.16 MB

Total Files

277

Last publish

Collaborators

  • hayleycampbell
  • georgepayne
  • ylorph-eventstore