Difference between revisions of "How to Create a new Theme"

From Amahi Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
# Start from an existing theme
 
# Start from an existing theme
# Rename the .spec file to the new name (hda-app-*.spec)
+
# Rename the .spec file to the new name (hda-theme-<newname>.spec)
# Change the old name to the new name in these files:
+
# Search and replace the old name to the new name in these files:
 
## Makefile, *.spec
 
## Makefile, *.spec
 
## inside app/: app-register, app-remove, hda_app_install.rb, Makefile
 
## inside app/: app-register, app-remove, hda_app_install.rb, Makefile
 +
## inside app/hda_app_install, the name of the apps is also in the name of the Class, so that needs to be changed as well
 
# The theme screenshot file is called app/public/theme-sshot.png and it should be 640x480
 
# The theme screenshot file is called app/public/theme-sshot.png and it should be 640x480
 
# The theme thumbnail file is called app/public/theme-thumb.png and it should be 64x64
 
# The theme thumbnail file is called app/public/theme-thumb.png and it should be 64x64
 
# The theme icon (for the installer in MyApps page), is called app/icon.png and it should be 48x48
 
# The theme icon (for the installer in MyApps page), is called app/icon.png and it should be 48x48

Revision as of 21:38, 6 June 2008

How to Create a Theme

  1. Start from an existing theme
  2. Rename the .spec file to the new name (hda-theme-<newname>.spec)
  3. 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 apps is also in the name of the Class, so that needs to be changed as well
  4. The theme screenshot file is called app/public/theme-sshot.png and it should be 640x480
  5. The theme thumbnail file is called app/public/theme-thumb.png and it should be 64x64
  6. The theme icon (for the installer in MyApps page), is called app/icon.png and it should be 48x48