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

1.0.0 • 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

Dependencies (0)

    Dev Dependencies (11)

    Package Sidebar

    Install

    npm i @eventstore-ui/illustrations

    Weekly Downloads

    201

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    5.14 MB

    Total Files

    276

    Last publish

    Collaborators

    • hayleycampbell
    • georgepayne
    • ylorph-eventstore