@preply/ds-web-root
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

@preply/ds-web-root

Root provider (+ themes) for web applications.

Using the Design System in your application or library?

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>
);

Contributing

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.

Development

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.

Tooling

Details about tools and configurations in @preply/ds-workspace.

Readme

Keywords

none

Package Sidebar

Install

npm i @preply/ds-web-root

Weekly Downloads

1,510

Version

2.3.0

License

none

Unpacked Size

752 kB

Total Files

44

Last publish

Collaborators

  • preply-admin
  • eugenegodun
  • erebus1
  • alex.semeniuk
  • serhii.tonkoshkur
  • lukas-preply