Specifications
File or Folder Name Purpose
screen/toolbar.css Sets the editing toolbar’s color, background color,
and margin.
screen/weblog.css Sets blog display attributes, such as which
elements are displayed.
screen/img/ Contains graphics used in the theme.
screen/img/banner.jpg Default banner for the theme. Its dimensions are
950 x 140 pixels.
screen/img/comment.png Displayed in the upper right of every comment.
Its dimensions are 16 x 15 pixels.
screen/img/rss.png Displayed in the upper right of the What’s Hot
and Recent Changes sidebars on the main page.
Its dimensions are 12 x 12 pixels.
Creating a Theme
The easiest way to create a theme is to take the existing wireframe theme, make
a copy of it with permissions intact, and then customize the copy.
If you edit the included themes instead of copying them to new themes, your edits
may be overwritten later by a software update.
To create a copy of the wireframe theme with permissions intact:
1 In Terminal, enter the following commands:
$ cd /Library/Application\ Support/Apple/WikiServer/Themes/
$ sudo ditto wireframe.wikitheme/ theme_name.wikitheme/
Replace theme_name with the name of the theme you’re creating.
If prompted, enter your administrator account password.
2 If you’re going to use Property List Editor or a non–command-line tool, copy the
theme.plist le to your Documents folder.
To copy this le, enter:
$ cp theme_name.wikitheme/theme.plist /Users/user_name/Documents/
Replace user_name with the short name of the user you’re logged in as.
For information about Property List Editor, see “About Property List Editor” on page 35.
3 Open theme.plist in Property List Editor or a text editor.
To open this le in a command-line text editor, enter:
$ sudo nano theme_name.wikitheme/theme.plist
If prompted, enter your administrator account password.
32 Chapter 3 Customizing How the Wiki Looks