@fold-dev/design
v0.19.0
Published
The UI library for product teams.
Maintainers
Readme
Fold Design
Fold Design is a Node.js project that uses StyleDictionary to generate the design tokens used in Fold.
Table of Contents
Getting Started
Prerequisites
Ensure you have the following prerequisites installed:
The project uses Node v18, however any version 16+ should work.
Installation
Clone the repository:
git clone https://github.com/fold-dev/fold.gitNavigate to the project directory:
cd fold/packages/designInstall dependencies:
npm install
Configuration
Please see config.js for output configuration. More detailed guide coming soon.
Usage
# Builds token file
npm run build
# Watch build using nodemon
npm run watchYarn is also acceptable, but be sure to replace npm with Yarn in the package.json watch script.
For more information on how to integrate the generated design tokens, please see our theming guide.
Contributing
We are not actively looking for contributers at this time, however you are very welcome to contribute by submitting a PR.
Here is how you can submit a pull request:
- Fork the project.
- Create your feature branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -am 'Add some feature'). - Push to the branch (
git push origin feature/your-feature). - Open a pull request.
License
This project is licensed under the MIT License (as part of Fold)
