Sounds like you might have figured it out, but I had already written up some instructions for you, so here you are!
When you install AtoM from the downloadable tarball we provide (on our Downloads page), the CSS in the base Dominion theme is precompiled - so we don't make people install the dependencies necessary for recompiling the CSS. If, on the other hand, you install using Option 2 in our documentation (from our GitHub code repository), then the CSS is not compiled, and the make command needs to be run. Consequently, in the Option 2 section, we include instructions for installing the dependencies and then running the make command.
If you add a new custom theme, you'll also need to compile it - I've copied the instructions from the documentation below. You may not have curl installed either, which is required for fetching the other dependencies, so I'll first include instructions for that.
First, make sure your operating system is up to date. On Ubuntu, you can typically do so with:
- sudo apt update && sudo apt upgrade
Nowe we can install curl:
You can check if it worked after by running:
Now we install the dependencies for lessc:
Finally, you should be able to recompile the CSS for the base Dominion theme:
- sudo make -C /usr/share/nginx/atom/plugins/arDominionPlugin
Do the same for your custom theme plugin, e.g.:
- sudo make -C /usr/share/nginx/atom/plugins/arAPPlugin
I would also recommend that you clear the application cache and restart PHP-FPM after making these changes.