Added by Eric Schaal about 8 years ago
Hello, I’ll like to know if there is a way to modify default site colors (top menu, font color etc..) ? I tried to modify :
$primary-color:
$primary-color-dark:
$secondary-color:
in app/assets/stylesheets/open_project_global/_variables.ssaas
but nothing changes, even after restarting openproject or rebooting.
Thank you !
Replies (1)
Hey Eric,
that’s almost correct. You’ll need to run
bundle exec rake assets:precompile
to compile the stylesheets for production again, since the file you changed is only the source file.If you’re on a packaged installation, use
openproject run bundle exec rake assets:precompile
.Please note that you may lose your changes during an update, especially in a packaged installation.
If you have some basic experience with Ruby and want to persist your changes and make them compatible, please consider writing a theme plugin. You can use the https://github.com/finnlabs/openproject-themes-dark as a starting point.
Best,
Oliver