An open API service indexing awesome lists of open source software.

https://github.com/primefaces/primereact-sass-theme

PrimeReact Theming with SASS
https://github.com/primefaces/primereact-sass-theme

Last synced: 5 months ago
JSON representation

PrimeReact Theming with SASS

Awesome Lists containing this project

README

          

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# PrimeReact Theming with SASS

Visit the [official documentation](https://primereact.org/theming/#customtheme) for more information.

SASS Logo

## Usage

To compile the CSS once:

```shell
npm install
npm run sass
```

To watch the SASS files for changes and re-compile:

```shell
npm install
npm run sass-watch
```

## Compile and copy CSS files to the PrimeReact repository

Usually you want to update the CSS files in the PrimeReact repository, located in the
`/primereact/public/themes` folder. To do so you can use the following scripts.

These scripts asume that the PrimeReact repository is located next to this repository, so at `../primereact`.
They will compile the CSS files and copy the resulting CSS files to the correct resources folders.

### Unix

```shell
./build.sh
```

### Windows

```shell
build.bat
```