Difference between revisions of "How to Create a new Theme"
From Amahi Wiki
Line 7: | Line 7: | ||
## 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 | + | ## 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 |
# 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 22:15, 6 June 2008
How to Create a Theme
- Pick a name for the new theme
- Start from an existing theme. Remember the name of this theme ("old name")
- Rename the .spec file to the new name (hda-theme-<newname>.spec)
- Search and replace the old name to the new name in these files:
- Makefile, *.spec
- inside app/: app-register, app-remove, hda_app_install.rb, Makefile
- 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
- 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 icon (for the installer in MyApps page), is called app/icon.png and it should be 48x48