Skip to content

Your design system's favorite design system. Pronounced "kehr'-behr-uhs"

License

Notifications You must be signed in to change notification settings

omnifed/cerberus

Repository files navigation

Cerberus Design System

banner

JSR NPM License

Architecture

Repository structure

This is a monorepo that uses pnPm to manage dependencies and Bun as the runtime language. You will need to install these tools to work on this project.

JSR Requirements

We follow the slow requirements process of the JSR publishing standard. This means you will be required to define the return types of all your exports which result in the following:

  1. Significantly improve your package users' type checking performance.
  2. Improve the automatic documentation generation.
  3. Enable automatic .d.ts generation for Node.js.

Getting started

Install Required Tools

  1. Install pnpm
  2. Install Bun

Setup the project

After you fork the repository, install the dependencies by running the following command in the root of the project:

pnpm install

This will install all the dependencies for the project including the workspaces.

Workspace Context

  • docs: The official docs website for Cerberus.
  • figma: Figma related files that run jobs on the CI using the Figma API.
  • packages: The core packages that make up Cerberus.
  • tests: The test suite for Cerberus.

Cerberus Package Context

  • panda-preset: The default preset for Cerberus. This is where all the styles live.
  • react: The React components for Cerberus. React only owns components, not styles.
  • styled-system: The source of truth preset build for Cerberus. This how people consume the styles from the preset. This is the only package that should not be touched. It is purely generated files.
  • icons: DEPRECATED. Will be deleted in the future.