@preply/ds-theme-base-ui
Theme base-ui (2019)
Using the Design System in your application or library?
Follow the instructions in @preply/ds-workspace.
tl;dr:
import { theme as preplyUI } from `@preply/ds-theme-preply-ui`;
Development
You probably want to execute yarn dev and/or yarn docs in the root, as per instructions in @preply/ds-workspace.
Tooling
Details about tools and configurations in @preply/ds-workspace.
Dependencies
Note: @preply/ds-*** are declared both as direct and peer dependencies:
- to ensure
rollup excludes them from the bundle.
- to ensure Lerna honours build sequence (does not do so for peer dependencies).
Peer dependencies
@preply/ds-web-core - Web support and context providers (React + CSS modules).
@preply/ds-core - Platform agnostic types, tokens and utils.