Difference between revisions of "SUNScholar/XMLUI Theme/M2/Customisation"

From Libopedia
Jump to navigation Jump to search
m
Line 14: Line 14:
  
 
===[[SUNScholar/XMLUI_Theme/M2/Customisation/Multiple Themes|Multiple Themes]]===
 
===[[SUNScholar/XMLUI_Theme/M2/Customisation/Multiple Themes|Multiple Themes]]===
Any folder you create in the following folder will be interpreted as a Mirage2 based theme:
 
$HOME/[[SUNScholar/Install_DSpace/S03|source]]/dspace/modules/xmlui-mirage2/src/main/webapp/themes
 
This means that if I create two folders called 'Red' and 'Green' in that directory, and create the file '''styles/_style.scss''' in both folders with the contents respectively and run mvn package -Dmirage2.on=true, two themes will be created called 'Red' and 'Green', with the only difference being the background color of <body>
 
<pre>
 
body {
 
  background-color: red;
 
}
 
</pre>
 
 
and
 
 
<pre>
 
body {
 
  background-color: green;
 
}
 
</pre>
 
  
 
===Help Links===
 
===Help Links===

Revision as of 22:07, 25 May 2015