How to Create a new Theme

From Amahi Wiki
Revision as of 22:15, 6 June 2008 by Cpg (talk | contribs)
Jump to: navigation, search

How to Create a Theme

  1. Pick a name for the new theme
  2. Start from an existing theme. Remember the name of this theme ("old name")
  3. Rename the .spec file to the new name (hda-theme-<newname>.spec)
  4. Search and replace the old name to the new name in these files:
    1. Makefile, *.spec
    2. inside app/: app-register, app-remove, hda_app_install.rb, Makefile
    3. inside app/hda_app_install, the name of the app is also in the name of the class (with camel case), so that needs to be changed as well
  5. The theme screenshot file is called app/public/theme-sshot.png and it should be 640x480
  6. The theme thumbnail file is called app/public/theme-thumb.png and it should be 64x64
  7. The theme icon (for the installer in MyApps page), is called app/icon.png and it should be 48x48