2011-05-23 07:35:36 +02:00
|
|
|
======================
|
|
|
|
SemanticScuttle Themes
|
|
|
|
======================
|
2011-05-25 19:24:21 +02:00
|
|
|
SemanticScuttle may be changed visually by supplying custom "themes" (skins)
|
|
|
|
that modify the visual appearance.
|
2011-05-23 07:35:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
Changing the current theme
|
|
|
|
==========================
|
2011-05-23 18:13:40 +02:00
|
|
|
In ``data/config.php``, set your theme like this: ::
|
2011-05-23 07:35:36 +02:00
|
|
|
|
|
|
|
$theme = 'darkmood';
|
|
|
|
|
2011-05-25 17:12:59 +02:00
|
|
|
The available themes are the folders in ``www/themes/``.
|
|
|
|
By default, SemanticScuttle ships only one usable theme ("default") and one
|
|
|
|
to demonstrate how to create your own theme ("testdummy").
|
|
|
|
|
2011-05-23 07:35:36 +02:00
|
|
|
|
2011-05-23 18:13:40 +02:00
|
|
|
Creating your own theme
|
|
|
|
=======================
|
2011-05-25 17:12:59 +02:00
|
|
|
Have a look at the "testdummy" theme in ``www/themes/testdummy/``.
|
2011-05-23 07:35:36 +02:00
|
|
|
|
2011-05-23 18:13:40 +02:00
|
|
|
CSS and image files
|
|
|
|
-------------------
|
|
|
|
Since both file types need to be accessible via the web server directly,
|
|
|
|
they are located in the ``www/`` folder: ::
|
|
|
|
|
|
|
|
www/themes/$themename/
|
|
|
|
|
|
|
|
The main CSS file that automatically gets included is ::
|
|
|
|
|
|
|
|
www/themes/$themename/scuttle.css
|
2011-05-23 07:35:36 +02:00
|
|
|
|
2011-05-25 17:12:59 +02:00
|
|
|
Several template files in SemanticScuttle include image files. If they do not
|
|
|
|
exist in your theme, the default ones are used automatically.
|
|
|
|
Note that this is not true for images that are specified in the CSS files.
|
|
|
|
|
2011-05-23 07:35:36 +02:00
|
|
|
|
|
|
|
Template files
|
|
|
|
--------------
|
2011-05-23 18:13:40 +02:00
|
|
|
The templates of the default file are located in ::
|
2011-05-23 07:35:36 +02:00
|
|
|
|
|
|
|
data/templates/default/
|
|
|
|
|
2011-05-23 18:13:40 +02:00
|
|
|
You may put your theme template files into ::
|
2011-05-23 07:35:36 +02:00
|
|
|
|
|
|
|
data/templates/$themename/
|
|
|
|
|