@preply/ds-theme-preply-ui
Theme preply-ui
a.k.a. older, a.k.a. less round corners.
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.
Dev dependencies
We only list the dependencies used directly in stories, MDX docs and tests (@storybook/react
, @testing-library/react
, ...).
Do NOT add dependencies on linting, testing, building tools unless.