gnu-social/theme
Sarven Capadisli fb8340fb54 Added laconica logo
Updated installation page markup
2009-05-01 03:50:24 +00:00
..
base Merge branch '0.7.x' into 0.8.x 2009-05-01 00:16:25 +00:00
cloudy Updated remaining files and styles for style separation for themes 2009-04-14 23:32:09 +00:00
default Added laconica logo 2009-05-01 03:50:24 +00:00
earthy earthy theme: layout experiment 2009-04-20 05:06:38 +00:00
identica Merge branch '0.7.x' into 0.8.x 2009-04-15 11:35:43 -04:00
iphone Make stuff work with no base 2009-04-14 16:02:09 -04:00
otalk otalk theme: anon_notice background colour update 2009-04-20 01:58:49 +00:00
readme.txt Added a mention of config setting to use a custom theme 2009-02-15 22:30:39 +00:00

/** Howto: create a laconica theme
 *
 * @package   Laconica
 * @author Sarven Capadisli <csarven@controlyourself.ca>
 * @copyright 2009 Control Yourself, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
 * @link      http://laconi.ca/
 */

Location of key paths and files under theme/:

./base/css/
./base/css/display.css
./base/images/

./default/css/
./default/css/display.css
./default/images/

./base/display.css contains layout, typography rules:
Only alter this file if you want to change the layout of the site. Please note that, any updates to this in future laconica releases may not be compatible with your version.

./default/css/display.css contains only the background images and colour rules:
This file is a good basis for creating your own theme.


1. Copy over the default theme to start off (replace 'mytheme'):
cp -r ./default ./mytheme

2. Edit your mytheme stylesheet:
nano ./mytheme/css/display.css

3. Search and replace a colour or a path to the background image of your choice.

4. Set /config.php to load 'mytheme':
$config['site']['theme'] = 'mytheme';