Additional themes can be defined by creating a new theme directory containing
the necessary files, as well as the corresponding XML file, whose name must match that of the
theme's directory.
-
Make a new directory within the webapps/share/themes
directory.
Note: Do not include spaces in the directory name.
-
Copy the contents of an existing theme directory to the new theme directory.
For example, copy the greenTheme directory to a newTheme.
-
Open the following files:
- presentation.css
- yui/assets/skin.css
- Search for .yui-skin-greenTheme and change the greenTheme name with .yui-skin-newName where newName is the name of your new theme directory.
- Save the files.
- Create a new XML file in the <configRootShare>/classes/alfresco/site-data/themes directory. For example, copy the <configRootShare>/classes/alfresco/site-data/themes/greenTheme.xml file to create a newTheme.xml file.
- Open the new XML file, change all instances of greenTheme to newTheme, and then save the file.
The new theme is then available in the list of themes on the
Application tool.