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

From Amahi Wiki
Jump to: navigation, search
Line 3: Line 3:
 
* Pick a name for the new theme, let's say '''NameOfYourTheme'''
 
* Pick a name for the new theme, let's say '''NameOfYourTheme'''
 
* Invoke the theme generator with the name as the first argument
 
* Invoke the theme generator with the name as the first argument
       hda-generate-theme '''NameOfYourTheme'''
+
       /usr/sbin/hda-generate-theme '''NameOfYourTheme'''
 
* The theme directory should be created at this point as '''NameOfYourTheme'''
 
* The theme directory should be created at this point as '''NameOfYourTheme'''
 
* cd into it
 
* cd into it

Revision as of 04:55, 3 March 2009

How to Create a Theme

  • Pick a name for the new theme, let's say NameOfYourTheme
  • Invoke the theme generator with the name as the first argument
     /usr/sbin/hda-generate-theme NameOfYourTheme
  • The theme directory should be created at this point as NameOfYourTheme
  • cd into it
  • The theme screenshot file should be 640x480 and is located in
     app/theme/theme-sshot.png
  • The theme thumbnail file should be 64x64 and is located in
     app/theme/theme-thumb.png
  • The theme icon (for the installer in MyApps page), should be 48x48, and is located
     app/icon.png
  • The most important file in the theme is the CSS file, which contains the styling for the theme. The file is located in
     app/theme/style.css