Variant Theme File Structure Overview
Prebuilt themes have several variants, which all share the same layout but might have different banners or color schemes. Shared CSS files are in the main theme’s folder, while variants have separate CSS files located in other folders.
/usr/share/collaboration/themes/
theme_name.variant/ |
|
screen.css |
|
screen/ | Imports |
CSS file | Imports |
| |
theme_name/ |
|
screen.css |
|
screen/ | Imports |
CSS files |
|
For example, the block theme has its shared CSS files located in:
/usr/share/collaboration/themes/block/screen/
Variants of the block theme all use these shared CSS files. Each variant also uses CSS files located in another folder such the following:
/usr/share/collaboration/themes/block.green.banner/screen/
/usr/share/collaboration/themes/block.red/screen/
/usr/share/collaboration/themes/block.red.banner/screen/
These CSS files all serve only as examples, since the prebuilt themes use the screen_ compressed.css file instead of these individual files.
Chapter 1 Customizing How the Wiki Looks
9