Specifications
Chapter 3 Customizing How the Wiki Looks 29
Variant Theme File Structure Overview
Prebuilt themes have several variants, which share the same layout but might have
dierent banners or color schemes. Shared CSS les are in the main theme’s folder,
while variants have separate CSS les located in other folders.
The following shows how theme variants import the main theme’s CSS and CSS les
located in the main theme and theme variant’s /screen folder.
/usr/share/collaboration/themes/
screen/
theme_name.variant/
CSS file
screen.css
Imports
Imports
screen/
CSS files
screen.css
Imports
theme_name/
For example, the block theme has its shared CSS les located in:
/usr/share/collaboration/themes/block/screen/
Variants of the block theme use these shared CSS les. Each variant also uses CSS les
located in other folders 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 les serve as examples, because prebuilt themes use the
screen_compressed.css le instead of these les.