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

From Libopedia
Jump to navigation Jump to search
Line 25: Line 25:
  
 
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>
 
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>
 +
 +
===Bootstrap Themes===
 +
*https://wrapbootstrap.com
 +
*http://bootswatch.com
  
 
===Bootstrap Theme Generators===
 
===Bootstrap Theme Generators===

Revision as of 15:15, 5 February 2015

Back to Mirage 2 Theme

Multiple themes

Any folder you create in:

$HOME/source/dspace/modules/xmlui-mirage2/src/main/webapp/themes

will be interpreted as a Mirage2 based theme.

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

body {
  background-color: red;
}

and

body {
  background-color: green;
}

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>

Bootstrap Themes

Bootstrap Theme Generators

Convert LESS to SCSS

Help Links