gnu-social/theme/README

48 lines
2.1 KiB
Plaintext
Raw Normal View History

2009-12-02 19:22:30 +09:00
/** Howto: create a StatusNet theme
2009-01-29 04:13:46 +09:00
*
2009-08-26 07:21:37 +09:00
* @package StatusNet
2009-12-02 19:22:30 +09:00
* @author Sarven Capadisli <csarven@status.net>
2010-01-26 06:44:05 +09:00
* @copyright 2010 StatusNet, Inc.
2009-01-29 04:13:46 +09:00
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
2009-12-02 19:22:30 +09:00
* @link http://status.net/
2009-01-29 04:13:46 +09:00
*/
2010-01-26 06:44:05 +09:00
== Location of key paths and files ==
<pre><nowiki>
base/css/
base/css/display.css #layout, typography rules
base/images/ #common icons, illustrations
base/images/icons/icons-01.png #main icons file (combined into a single file)
2009-01-29 04:13:46 +09:00
2010-01-26 06:44:05 +09:00
default/css/
default/css/display.css #imports the base stylesheet for layout and adds background images and colour rules
default/logo.png #default site logo for this theme
default/mobilelogo.png #default logo for the mobile output
default/default-avatar-mini.png #24x24 default avatar for minilists
default/default-avatar-stream.png #48x48 default avatar for notice timelines
default/default-avatar-profile.png #96x96 default avatar for the profile page
</nowiki></pre>
2009-01-29 04:13:46 +09:00
2010-01-26 06:44:05 +09:00
== How to create your own theme ==
2009-01-29 04:13:46 +09:00
2010-01-26 06:44:05 +09:00
You probably want to do one of the following:
2009-01-29 04:13:46 +09:00
2010-01-26 06:44:05 +09:00
* If you just want to change the text, link, background, content, sidebar colours, background image:
** Do this from the Admin->Design settings (recommended!). You could also create a directory and a file structure like the default theme, search and replace with your own values. This is more work, but, you can do this if you plan to make additional *minimal* changes.
2009-01-29 04:13:46 +09:00
2010-01-26 06:44:05 +09:00
* If you want to change the background images and colours:
# Create a directory and a file structure like the default theme.
# Have your stylesheet import base/css/display.css and add your own styles below. It is okay to add *minimal* changes here.
* If you want to create a different layout, typography, background images and colours:
** Create your own theme directory (base or default) with stylesheets and images like.
Finally, enable your theme by selecting it from the Admin->Design interface. You can set site's logo from here as well.