# clay **Repository Path**: jaypro/clay ## Basic Information - **Project Name**: clay - **Description**: https://github.com/liferay/clay - **Primary Language**: CSS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-26 - **Last Updated**: 2023-09-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Clay

![Clay CI](https://github.com/liferay/clay/actions/workflows/main.yml/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/liferay/clay/badge.svg)](https://coveralls.io/github/liferay/clay)
Clay is Liferay's web implementation of the [Lexicon Experience Language](https://liferay.design/lexicon). Built with Bootstrap as a foundation, it's comprised of HTML, CSS, and JS. **🚨 This Branch contains the version of Clay v3, if you are looking for the components in Metal.js visit the [2.x branch](https://github.com/liferay/clay/tree/2.x)**. ## Contents - [Browser support](#browser-support) - [Packages](#packages) - [Documentation](#documentation) - [Migration Guides](#migration-guides) - [Setup](#setup) - [clayui.com](#clayuicom) - [Contributing](#contributing) - [License](#license) ## Browser support ![Google Chrome Last 2](https://img.shields.io/badge/Chrome-Last_2-green.svg?style=flat) ![Microsoft Edge Latest](https://img.shields.io/badge/Edge-Latest-green.svg?style=flat) ![Mozilla Firefox Last 2 and 52](https://img.shields.io/badge/Firefox-Last_2%20and_v52-green.svg?style=flat) ![Opera Latest](https://img.shields.io/badge/Opera-Latest-green.svg?style=flat) ![Safari Last 2](https://img.shields.io/badge/Safari-Last_2-green.svg?style=flat) ![Chrome Android](https://img.shields.io/badge/Chrome_Android-Latest-green.svg?style=flat) ![Safari iOS Latest](https://img.shields.io/badge/Safari_iOS-Latest-green.svg?style=flat) ## Packages Clay repository follows the monorepo approach, all the major components that are the pillars of Clay are here in this repository. - **[Clay CSS](./packages/clay-css)**: The pillar to give colors and structure to Clay, where is the css and examples of HTML markups of the components. - **[Clay React Components](./packages)**: A set of components that use `clay-css` and Lexicon guidelines, developed with [React.js](http://reactjs.org) - **[clayui.com](./clayui.com)**: The source code for our documentation site. ## Documentation You can find the Clay documentation on the [site](https://clayui.com/docs). Here are some useful links: - [Getting Started](https://clayui.com/docs/get-started/index.html) - [Components](https://clayui.com/docs/components/index.html) - [CSS Framework](https://clayui.com/docs/css/index.html) - [Blog](https://clayui.com/blog/2019/10/25/introducing-clay-v3.html) ## Migration Guides Do you already have the Clay v2 components implemented in your project? These guides will help you perform the migration from [Clay v2](https://v2.clayui.com) to [v3](https://clayui.com). - [Migrate the Clay components from v2 to v3](https://clayui.com/docs/get-started/migrate-the-clay-components-from-v2-to-v3.html) ## Setup To contribute to this project, here are the required steps to setup everything: 1. Clone this repository: ``` git clone https://github.com/liferay/clay.git ``` 2. Download and install the latest lts version of [Node.js](https://nodejs.org/) for your operating system. 3. Install the required global dependencies: ``` npm install -g yarn ``` 4. Install the project's dependencies: ``` yarn ``` 4. Install the dependencies for each package and link them together: ``` yarn lerna ``` 5. Build all packages: ``` yarn build ``` 6. Compile all `clay-css` files and start the storybook server: ``` yarn workspace @clayui/css run build && yarn storybook ``` > Additionally, you can run the tests for all packages with the following command: ``` yarn test ``` ## clayui.com To contribute to the documentation, you can run the site locally to test your changes: 1. Navigate to the site's directory: ``` cd clayui.com ``` 2. Install the dependencies: ``` yarn ``` 3. Run the site in a development environment: ``` yarn develop ``` > If you want to test in a production environment so that you do not take risks of inconsistencies, issue the following command in the root directory: ``` yarn site ``` ## Contributing Feel free to create issues or submit pull requests. Clay is actively maintained and your contributions are always welcome. > Before opening a issue make sure it exists. See the [contribution guide](/CONTRIBUTING.md) for more details. ## License BSD License © Liferay, Inc.