|Version 12 (modified by 7 years ago) (diff),|
Modular styles manager
This plugin simplifies the process of distributing and deploying themes and styles.
In the 0.10 version, the WebAdmin plugin is required.
All of these are under
- Specify which theme to use.
If set to true, the theme can override your
header_logosettings with its own logo. (Note: This is true by default)
Most themes should simply subclass
themeengine.api). This works similarly
WikiMacroBase, use your theme name followed by "Theme" as the class name, and put the
description as the class's docstring. There are a number of class variable you can define to affect
how your theme will be loaded, if any is set to
True, it will take on a default value (see below):
The path to the header template. (Defaults to
The path to the footer template. (Defaults to
The path to the CSS template. (Defaults to
The folder containing the static content. (Defaults to
The path to the screenshot file. (Defaults to
A dict containing the data normally in
[header_logo]in trac.ini. (Defaults to
Packaging A Theme
One request, when taking screenshots please make them of the first wiki page, preferably with its default content. Also please make them match the aspect ratio of 640x400.
Choosing a Theme
If you have any issues, create a new ticket.
Download and Source
[components] themeengine.* = enabled
To specify a theme:
[theme] theme = <Name>
admin_theme.png (46.7 KB) - added by 7 years ago.
Screenshot of theme selector
admin_customize.png (52.7 KB) - added by 7 years ago.
Screenshot of theme customization system
admin_advanced.png (48.3 KB) - added by 7 years ago.
Screenshot of the advanced theme customization system
Download all attachments as: .zip