A Redmine 6.x theme.
- Left sidebar,
- Colored trackers links,
- Jira-inspired priority icons,
- Customizable with SCSS.
- Redmine 6.x : use either the latest stable release (1.6.1), or use the
redmine-6.xbranch of this repository. - Redmine 5.x : use either the latest stable release (1.5.1), or use the
redmine-5.xbranch of this repository.
To install this theme :
- download the lastest stable release and decompress the archive to your Redmine's
themesfolder, - rename the folder
opale-1.6.1toopale, - go to
Redmine > Administration > Settings > Display, selectOpalefrom the theme's list and save the settings.
If you want to customize Opale to your needs, first, make sure that you have installed Node.js and npm is available in your terminal.
Then, from the directory that contains Opale run:
npm installWarning
In production, never include the node_module folder created by this command. Otherwise, if present, it could cause a timeout during assets precompilation.
Now all the dependencies should be ready to use. Run one more command:
npm run watchAnd now the grunt is watching for changes in files placed in src/ folder.
Just change what you need, and it'll run Sass preprocessor automatically.
Regrettably, optional file include is not possible in Sass, so I would recommend creating a new file, e.g. src/sass/_custom-variables.scss and importing it at the beginning of src/sass/application.scss using the following at-use rule : @use "custom-variables";.
This way all the variables defined in src/sass/_variables.scss with the !default flag could be overridden in src/sass/_custom-variables.scss:
@use 'variables' with (
$sidebar-position: right,
$brand-primary: #614ba6
);The path src/sass/_custom-variables.scss is added to .gitignore so it should make upgrading Opale with keeping your changes rather painless, given that the only thing you changed in Opale's source was adding this one line @use "custom-variables"; at the beginning of src/sass/application.scss.
On a first install, depending on your server setup, it might happen that the theme appears to be broken because the CSS were not loaded.
This happens because assets of the theme have not been compiled properly by Redmine.
Usually simply restarting the server should fix that.
If not, run the command bundle exec rake assets:precompile RAILS_ENV=production on your server before restarting it.
This theme also features a new look for Redmine Backlogs plugin.
To install it, simply copy stylesheets from opale/plugins/redmine_backlogs and overwrite files in {redmine}/plugins/redmine_backlogs/assets/stylesheets.
Then restart Redmine.
Bug reports and Pull requests are welcome. Please read more about contributing.
Opale is licensed under the Affero General Public License version 3, the text of which can be found in LICENSE, or any later version of the AGPL, unless otherwise noted.
Licensing of included components:
- Normalize.css : MIT License,
- Bootstrap Mixins : MIT License,
- Tabler Icons: MIT License.
All unmodified files from these projects retain their original copyright and license notices: see the relevant individual source files in src/sass/vendor/
