Documented theming support.

Closes #462.
This commit is contained in:
Oliver Hamlet
2015-07-01 12:10:43 +01:00
parent 89fb51f235
commit f7b382ac08
+6
View File
@@ -202,6 +202,7 @@ var {
<li><a href="#usage-editing">Editing Plugin Metadata</a>
<li><a href="#usage-settings">Editing Settings</a>
</ol>
<li><a href="#themes">Themes</a>
<li><a href="#contrib">Contributing &amp; Support</a>
<li><a href="#credits">Credits</a>
<li><a href="#license">License</a>
@@ -468,6 +469,11 @@ var {
<tr><td>Install Path Registry Key<td>The registry key, in <code>HKEY_LOCAL_MACHINE</code>, that contains the install path of the game. This is used to obtain the install path if LOOT has no previous record of the game's install path, or LOOT's stored install path is invalid. Either this or an install path must be supplied.
</table>
<h2 id="themes">Themes</h2>
<p>LOOT's user interface has experimental support for the use of alternative and custom CSS themes. To use a theme, place its CSS file into the <code>resources/report/css</code> folder inside LOOT's installation folder, and rename the file to <code>theme.css</code>. LOOT will then load this file when it launches. A dark user interface theme is provided with LOOT: to use it, rename <code>dark-theme.css</code> in the <code>resources/report/css</code> folder to <code>theme.css</code>.</p>
<p>Theme support is experimental because future updates to LOOT's user interface may break existing CSS selectors. Theme contributions from users for inclusion into LOOT are welcome, see the section below for more information. Users wishing to write new themes may either use the dark theme as a starting point, or browse LOOT's source code to determine the CSS selectors to use.</p>
<h2 id="contrib">Contributing &amp; Support</h2>
<p>LOOT is very much a community project, and contributions from its users are very welcome, whether they be metadata, translations, code or anything else. The best way to contribute is to <a href="https://github.com/loot/loot.github.io/wiki/How-To-Contribute">make changes yourself</a> at GitHub! It's the fastest way to get changes you want applied, and you'll get your name automatically immortalised in our <a href="http://loot.github.io/credits/">credits</a>.