Noosfero Instructions for Theme Developers ========================================== To build Noosfero themes you must to know HTML and CSS. You may also get some advantages with Ruby and Noosfero hacking knowledge because all customizable pieces of the theme's HTML structure are [erb](http://en.wikipedia.org/wiki/ERuby) files. Organization Basics ------------------- A theme is a directory and must inside `noosfero/public/designs/themes`, and you will find tis themes in a fresh installation: `noosfero`, `aluminium`, `base`, `butter`, `chameleon`, `chocolate`, `orange`, `plum`, `scarletred` and `skyblue`. The `default` is only a link to `noosfero` and you can change this link to any other. `noosfero` is the default theme with a big header. All other are colored themes with a thin header. That colored ones can be used as additional themes for any environment, as they will search for `/images/thin-logo.png` inside the current environment.theme, to use as top left logo. Inside a theme we can found: * `theme.yml` — Theme description with some nice configuration options. * `preview.png` — A 100x100 screenshot of this theme to the theme selection UI. * `style.css` — The main file. The magic happens here. * `errors.css` — Change the error page look. (only if this theme is linked by `defaut`) * `favicon.ico` — The identifier icon for your web site. * `images` — Another name can be found by your CSS, but will not allow to reuse the logo. * `thin-logo.png` — The logo to be reused by the colored themes. * *many images...* * `site_title.html.erb` — A nice place to put your logo, any code here will be placed inside `h1#site-title`. * `header.html.erb` — That goes inside `div#theme-header`. * `navigation.html.erb` — That goes inside `div#navigation ul`, so use `