= Start From Step by Step of Making a Good Theme =
Creating a theme is easy by forking an existing "base" theme:
* You can change the name of the theme and the color scheme of the piecharts in
init.rb
= Variables in the Init File =
The init.rb file contains some variables that are expected by the Amahi platform. Only one is required:
* <code>ret[:name] = "Morning Sunshine"</code> — A string with the name of the theme (the user sees this)
Optional:
* <code>ret[:headers] = ["foo.js", "bar.js"]</code> — An array of strings,with names of javascript files to be included for this theme
* <code>ret[:gruff_theme] = { ... }</code> — Theme for the piecharts - see the
= Themes Sources in Git =