No styles on master on githib

The master branch contains no asset files. For example, the directory
/assets/invoiceplane/css
contains no files.

The current downloadable zip file, however contains the files

monospace.css
reports.css
style.css
templates.css
welcome.css

I have noted the CONTRIBUTING.md file’s instructions about Themes located at

However, the documentation is not clear as to the location of the core styles. I therefore suspect they are missing.

The main repository has the source files for the core styling and the InvoicePlane base theme included. The minified CSS files will never be present in the repository as they are compiled from the source files. This is a best practice.
The downloadable zip from the repo (e.g. 1.5.9.zip) includes these compiled files as well as additional languages and so on.

If you want to change something in the core files or correct them, read further in the contribution guide. You need to have Node and NPM installed as well as Grunt CLI. Then you can compile the CSS files with grunt build.

2 Likes

Thank you @Kovah. Your response set me on my way to getting the solution.

For those that want easy instructions, on Ubuntu 18.04

  1. Install Node and npm
    The Ubuntu version lags behind the official LTS version and is on version 6.
    You can install the current version using the nodesource ppa
    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    sudo apt-get install -y nodejs

  2. Install grunt
    (Note not grunt-cli)
    sudo npm install -g grunt

  3. Run npm install and grunt dev
    This is explained in the contributions file and link provided above by @Kovah.
    The grunt dev runs as a service, so you will need a free terminal session, or run in a screen session, or run as a background task.
    npm install
    grunt dev

2 Likes