Skip to content

Styling

Caroline Fischer edited this page Dec 9, 2023 · 1 revision

We use Tabler (and Bootstrap) as css framework. Custom scss can be written in main.scss. Whenever this file has changed it has to be compiled with

yarn run compile:css

to generate a static css file.

To save this manual step, you can also run

yarn run compile:css:watch

# or on WSL2 if the project is on the Windows file system (eats CPU...):
yarn run compile:css:poll

in the background so that changes in the scss file are compiled automatically.

To use the javascript from Tabler the relevant dependencies need to be installed in the node_modules folder. Run

yarn install
Clone this wiki locally