Themes for MapTool: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Added the "Themes" and "CSS" categories)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
MapTool uses the TinyLaF look-and-feel library for the look and feel of MapTool.
MapTool uses the TinyLaF look-and-feel library for the look and feel of MapTool.


=== MapTool 1.6+ ===
MapTool versions from 1.6+ set the theme being used via the Themes menu in the user interface. You can add your own themes to the themes directory shown below.
MapTool versions from 1.6+ set the theme being used via the Themes menu in the user interface. You can add your own themes to the themes directory shown below.


<h2>Theme Location MT 1.6+</h2>
==== Theme Location MT 1.6+ ====
<p><strong>MapTool Themes directory under Windows:</strong></p>
<p><strong>MapTool Themes directory under Windows:</strong></p>
<p><code>c:\users\username\.maptool-rptools\themes\ui</code></p>
<p><code>c:\users\username\.maptool-rptools\themes\ui</code></p>


Prior to 1.6 MapTool uses the default theme of TinyLaF and this can be changed by placing a different <strong>default.theme</strong> file where it can be found when MapTool starts (see Theme Locations below).  The preferred location is in the home directory of your user account.  A theme placed there will be loaded by any version of MapTool no matter where it is installed.  Alternatively you can put it in the MapTool working directory alongside the <code>.jar</code> file where it will only be seen by that particular install of MapTool.
=== Older versions are deprecated due to the log4j security vulnerability. ===
 
==== MapTool pre-1.6 ====
 
Prior to v1.6, MapTool uses the default theme of TinyLaF and this can be changed by placing a different <strong>default.theme</strong> file where it can be found when MapTool starts (see Theme Locations below).  The preferred location is in the home directory of your user account.  A theme placed there will be loaded by any version of MapTool no matter where it is installed.  Alternatively you can put it in the MapTool working directory alongside the <code>.jar</code> file where it will only be seen by that particular install of MapTool.


Note that the theme file must be renamed to <em><strong>Default.theme</strong></em> to be automatically loaded. Case doesn't matter on Windows but may on Linux and MacOS.
Note that the theme file must be renamed to <em><strong>Default.theme</strong></em> to be automatically loaded. Case doesn't matter on Windows but may on Linux and MacOS.


<h2>Theme Locations Pre-MT 1.6</h2>
==== Theme Locations for MapTool pre-1.6 ====
<p><strong>User Home under Windows:</strong></p>
<p><strong>User Home under Windows:</strong></p>
<p><code>c:\users\username\</code></p>
<p><code>c:\users\username\</code></p>
Line 19: Line 24:
<p><code>c:\users\username\appdata\local\MapTool\app</code></p>
<p><code>c:\users\username\appdata\local\MapTool\app</code></p>


<h2>Theme Packs</h2>
==== Theme Packs ====
<h3>TinyLaF Base Themes+</h3>
===== TinyLaF Base Themes+ =====
This archive has several themes that you can experiment with. Most are base theme examples of different color schemes that come with TinyLaF and there are three modified ones with larger font sizes.
This archive has several themes that you can experiment with. Most are base theme examples of different color schemes that come with TinyLaF and there are three modified ones with larger font sizes.
[https://github.com/RPTools/maptool/files/3854850/ThemePack_TinyLaF.zip ThemePack_TinyLaF.zip]
[https://github.com/RPTools/maptool/files/3854850/ThemePack_TinyLaF.zip ThemePack_TinyLaF.zip]
Line 41: Line 46:
</ul>
</ul>


<h3>Takehara Themes</h3>
===== Takehara Themes =====
[https://github.com/RPTools/maptool/files/3866418/TakeharaThemes.zip TakeharaThemes.zip]
[https://github.com/RPTools/maptool/files/3866418/TakeharaThemes.zip TakeharaThemes.zip]


Line 50: Line 55:
</ul>
</ul>


<h2>Creating Custom TinyLAF Themes</h2>
===== Creating Custom TinyLAF Themes =====
You can customize and create your own TinyLAF themes by using the TinyLAF control panel. Once downloaded, <code>tinycp.jar</code> is the control panel and allows you to create and edit themes.
You can customize and create your own TinyLAF themes by using the TinyLAF control panel. Once downloaded, <code>tinycp.jar</code> is the control panel and allows you to create and edit themes.


[http://www.muntjak.de/hans/java/tinylaf/index.html TinyLAF 1.4.0 Download]
[http://www.muntjak.de/hans/java/tinylaf/index.html TinyLAF 1.4.0 Download]
[[Category:MapTool]]
[[Category:Themes]]
[[Category:CSS]]

Latest revision as of 23:59, 23 February 2024

MapTool uses the TinyLaF look-and-feel library for the look and feel of MapTool.

MapTool 1.6+

MapTool versions from 1.6+ set the theme being used via the Themes menu in the user interface. You can add your own themes to the themes directory shown below.

Theme Location MT 1.6+

MapTool Themes directory under Windows:

c:\users\username\.maptool-rptools\themes\ui

Older versions are deprecated due to the log4j security vulnerability.

MapTool pre-1.6

Prior to v1.6, MapTool uses the default theme of TinyLaF and this can be changed by placing a different default.theme file where it can be found when MapTool starts (see Theme Locations below). The preferred location is in the home directory of your user account. A theme placed there will be loaded by any version of MapTool no matter where it is installed. Alternatively you can put it in the MapTool working directory alongside the .jar file where it will only be seen by that particular install of MapTool.

Note that the theme file must be renamed to Default.theme to be automatically loaded. Case doesn't matter on Windows but may on Linux and MacOS.

Theme Locations for MapTool pre-1.6

User Home under Windows:

c:\users\username\

MapTool config directory under Windows:

c:\users\username\.maptool-rptools\config

Working directory for default installation under Windows

c:\users\username\appdata\local\MapTool\app

Theme Packs

TinyLaF Base Themes+

This archive has several themes that you can experiment with. Most are base theme examples of different color schemes that come with TinyLaF and there are three modified ones with larger font sizes. ThemePack_TinyLaF.zip

Default TinyLaF Themes

Large Font Themes

  • MyDefault16.theme - Screenshot
  • Nightly14.theme
  • Nightly16.theme
Takehara Themes

TakeharaThemes.zip

Includes:

Creating Custom TinyLAF Themes

You can customize and create your own TinyLAF themes by using the TinyLAF control panel. Once downloaded, tinycp.jar is the control panel and allows you to create and edit themes.

TinyLAF 1.4.0 Download