Contributing

Styles

We use Sass as a CSS preprocessor. The styles live in src/sass.

To modify the styles, first install Sass:

npm install -g sass

Then run:

./scripts/build-styles.sh

This will automatically rebuild your CSS when it detects a change in the Sass files.


Running the docs

By running Piccolo Theme’s docs you can verify that your changes look OK.

First install the requirements:

pip install -r requirements/doc-requirements.txt

Then launch a web server using the following script:

./scripts/run-docs.sh

It auto reloads when it detects changes to the documentation or theme files.