Root provider (+ themes) for web applications.
Follow the instructions in @preply/ds-workspace.
tl;dr:
import { RootProvider } from `@preply/ds-web-root`;
import { Heading } from `@preply/ds-web-lib`;
export const App: FC = () => (
<RootProvider theme="tokyo-ui">
<Heading level="h1">Hello!</Heading>
</RootProvider>
);
Reach out to #design-system-public if you think you can help and keep an eye on DS Confluence for more docs, guides, work in progress, decisions, the works.
You probably want to execute yarn dev
and/or yarn docs
in the root, as per instructions in @preply/ds-workspace.
For quicker - and more focused - feedback, you can also directly use the scripts in this package directory, but make sure you have first executed yarn build
in root, or that you have the root yarn dev
script running in the background.
Details about tools and configurations in @preply/ds-workspace.