Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Custom Colors

Custom Colors

Added by Eric Schaal almost 9 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)

RE: Custom Colors - Added by Oliver Günther almost 9 years ago

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

  • (1 - 1/1)
Loading...