Open link in a new tab

Content

Expand project menu

Custom Colors

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 !

Message actions

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