Project

General

Profile

HowTo create a custom Redmine theme » History » Version 1

Jean-Philippe Lang, 2007-10-10 19:36

1 1 Jean-Philippe Lang
h1. HowTo create a custom Redmine theme
2
3
As of r818, Redmine offers basic support for themes.
4
Themes can override stylesheets only (application.css).
5
6
h2. Creating a new theme
7
8
Create a directory in public/themes. The directory name will be used as the theme name.
9
10
Example:
11
12
  public/themes/my_theme
13
14
Create your custom @application.css@ and put it in a subdirectory names @stylesheets@:
15
16
  public/themes/my_theme/stylesheets/application.css
17
18
Here is an example of a custom stylesheets that only override a few settings:
19
20
<pre><code>
21
22
</code></pre>
23
24
h2. Applying the theme
25
26
Go to "Administration -> Settings" and select your newly created theme in the "Theme" drop-down list. Save your settings.
27
28
Redmine should now be displayed using your custom theme.