This monorepo contains design tokens and related packages that form the foundation of Kajabi's design system. These packages ensure design consistency across all Kajabi products and provide developers with standardized design primitives.
This is an Nx-powered monorepo that houses packages related to Kajabi's design system tokens. Using a monorepo architecture allows us to maintain related packages together while keeping their codebases separate.
| Project | Package | Version | Downloads | Links |
|---|---|---|---|---|
| Styles | @kajabi-ui/styles | README |
This repository uses Nx, a set of extensible dev tools for monorepos. Nx provides several benefits:
- Smart rebuilds of affected projects
- Distributed task execution & computation caching
- Powerful code generators & workspace analysis
- Integrated tooling for linting, testing, and building
Here are some common Nx commands used in this repository:
# Build all packages
npx nx run-many --target=build --all
# Build a specific package
npx nx build @kajabi-ui/styles
# Run lint on all packages
npx nx run-many --target=lint --all
# Generate a graph of the project dependencies
npx nx graph- Node.js (see
package.jsonfor recommended version) - npm or yarn
-
Clone the repository
git clone https://github.com/kajabi/ds-tokens.git cd ds-tokens -
Install dependencies
npm install
-
Build all packages
npx nx run-many --target=build --all
We welcome contributions from the team! Here's how to get started:
-
Fork & Clone: Fork the repository on GitHub, then clone your fork locally.
# Fork the repo on GitHub first, then: git clone https://github.com/YOUR-USERNAME/ds-tokens.git cd ds-tokens
-
Create a Branch: Create a new branch for your feature or bug fix.
git checkout -b feature/your-feature-name
-
Make Changes: Implement your changes following our coding standards.
-
Lint Code: Ensure your changes meet our code quality standards.
npx nx affected --target=lint
-
Commit Changes: We follow Conventional Commits standards for commit messages.
git commit -m "feat: add new color token system" git commit -m "fix: resolve color token inconsistency" git commit -m "docs: update token documentation"
Common types include:
feat,fix,docs,style,refactor,test, andchore. -
Push Changes: Push your branch to GitHub.
git push origin feature/your-feature-name
-
Create Pull Request: Open a PR against the main branch and request reviews.
- Follow the existing code style and conventions
- Add tests for new features
- Update documentation when necessary
- Make sure all tests pass before submitting a PR
See the LICENSE file for details.
© 2025 Kajabi, LLC. All rights reserved.