SUNScholar/XMLUI Theme/M1/Palette

Back to Mirage 1 Modification

Introduction
This wiki page helps to setup the default colours for the web site.

Step 1 - Review palette preferences
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Theme/Color_Palette

Step 2 - Change to theme folder
Type the following: cd $HOME//dspace/modules/xmlui/src/main/webapp/themes/SUNScholar

Step 2 - Define colours CSS
At Stellenbosch University we use #76273C as our brand colour.

Therefore we change all the brand colours as follows by using sed to search and replace colour codes in all the CSS files.

Type the following for all major branding elements: sed -i 's/#1F3F5E/#76273C/g' lib/css/*.css

sed -i 's/#607890/#76273C/g' lib/css/*.css

sed -i 's/#6d859c/#76273C/g' lib/css/*.css

Type the following for the trail background:

sed -i 's/#b6c8d9/#CCC/g' lib/css/*.css

sed -i 's/#9cacba/#DDD/g' lib/css/*.css

Type the following for the options headings background:

sed -i 's/#f0f2f5/#CCC/g' lib/css/*.css

sed -i 's/#d8e8eb/#DDD/g' lib/css/*.css

Type the following for hovering over links:

sed -i 's/#036/#FF9900/g' lib/css/*.css

Step 3 - Rebuild DSpace
Rebuild DSpace