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
 
# Pick a name for the new theme
 
# 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 }}
+
      hda-generate-theme NameOfYourTheme
 
# The theme directory should be as NameOfYourTheme
 
# The theme directory should be as NameOfYourTheme
 
# cd into it
 
# cd into it

Revision as of 02:23, 20 July 2008

How to Create a Theme

  1. Pick a name for the new theme
  2. Invoke the theme generator with the name as the first argument
     hda-generate-theme NameOfYourTheme
  1. The theme directory should be as NameOfYourTheme
  2. cd into it
  3. The theme screenshot file is called app/theme/theme-sshot.png and it should be 640x480
  4. The theme thumbnail file is called app/theme/theme-thumb.png and it should be 64x64
  5. The theme icon (for the installer in MyApps page), is called app/icon.png and it should be 48x48
  6. The most important file in the theme is the CSS file, which contains the styling for the theme. That is app/theme/style.css