Difference between revisions of "SUNScholar/XMLUI Theme/M2/Customisation/Palette"
Jump to navigation
Jump to search
| Line 35: | Line 35: | ||
Go to the bottom of the file and add the following: | Go to the bottom of the file and add the following: | ||
<pre> | <pre> | ||
| + | /** | ||
| + | * Links CSS | ||
| + | **/ | ||
$link-color: @brand-primary; | $link-color: @brand-primary; | ||
$link-hover-color: @brand-warning; | $link-hover-color: @brand-warning; | ||
$link-hover-decoration: underline; | $link-hover-decoration: underline; | ||
| + | </pre> | ||
| + | ===Step 4 - Define text colour=== | ||
| + | Go to the bottom of the file and add the following: | ||
| + | <pre> | ||
| + | /** | ||
| + | * Text CSS | ||
| + | **/ | ||
| + | $text-color: $gray !default; | ||
</pre> | </pre> | ||
Revision as of 06:06, 16 June 2015
Back to Mirage 2 Customisation
Contents
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 - Define colours CSS
Edit the following file:
nano $HOME/source/dspace-xmlui-mirage2/src/main/webapp/styles/classic_mirage_color_scheme/_bootstrap_variables.scss
Go to the bottom of the file and add the following:
/** * Colours CSS **/ $brand-primary: #76273c; $brand-success: #5cb85c; $brand-info: #5bc0de; $brand-warning: #ff7f00; $brand-danger: #d9534f; $gray-base: #000; $gray-darker: #222; $gray-dark: #333; $gray: #555; $gray-light: #777; $gray-lighter: #eee;
Adjust the settings to suit your institution.
Step 3 - Define anchor colours CSS
Go to the bottom of the file and add the following:
/** * Links CSS **/ $link-color: @brand-primary; $link-hover-color: @brand-warning; $link-hover-decoration: underline;
Step 4 - Define text colour
Go to the bottom of the file and add the following:
/** * Text CSS **/ $text-color: $gray !default;