PDA

View Full Version : Chat text color question



mafh
August 25th, 2013, 07:12
When I change the lighting to anything but day, the text is very low contrast against the background. For example, with the 'night' lighting, the normal chat text is purple on dark blue. Is there a way to change the color of the text for each of the lighting modes so that the text is easier to read?

Trenloe
August 25th, 2013, 07:36
This is set using the Interface.setLighting command: https://www.fantasygrounds.com/refdoc/Interface.xcp#setLighting

In the 3.5e ruleset, for example, this is done in the \utility\utiliy_misc.xml file (in the lightingselection template). Only the windowcolor parameter is changed. Perhaps you could experiment with the settings in the <windowclass name="lightingselection"> section of the same XML file.

For example, night is set as:

<lightingselection name="night">
<anchored>
<to>day</to>
<position>below</position>
<size>
<height>100</height>
</size>
</anchored>
<icon>lighting_night</icon>
<light>
<window>FFFFB8A4</window>
</light>
</lightingselection>
Here only the "window" color is changed to FFFFB8A4

You could add a system colour of red by using:

<lightingselection name="night">
<anchored>
<to>day</to>
<position>below</position>
<size>
<height>100</height>
</size>
</anchored>
<icon>lighting_night</icon>
<light>
<window>FFFFB8A4</window>
<system>FF0000</system>
</light>
</lightingselection>

Try different values and see what you like.

See this thread for some discussions on colour schemes: www.fantasygrounds.com/forums/showthread.php?18437-Lighting-mood-color-schemas