Hi Vincent,
In PixInsight 1.8 all colors and fonts can be customized by editing the core CSS file:
Windows: win.qss
Mac OS X: osx.qss
X11: x11.qss
This file is in the bin installation folder:
Windows:
C:\Program Files\PixInsight\bin
Mac OS X (you have to right-click PixInsight.app and select 'Show Package Contents'):
/Applications/PixInsight.app/Contents/MacOS
Linux (assuming that you have uncompressed the installation package on $HOME/PixInsight):
~/PixInsight/bin
Open the CSS file with a plain text editor (for example, PixInsight's Script Editor). To customize the workspace, locate the following section, approximately at line 1495:
/*
* Workspace
*/
QWidget#WSWorkspace {
background: #404040;
selection-background-color: rgba( 255, 255, 255, 20 );
selection-color: rgba( 128, 160, 255, 255 );
alternate-background-color: rgba( 208, 160, 106, 255 ); /* maximization limit */
}
To change the background color, change the value of the background property. For example:
background: #603030;
Instead of hexadecimal notation, you can specify the red, green and blue components as follows:
background: rgb(96,48,48);
or specify a CSS color name:
background: black;
The selection-background-color and selection-color properties allow you to customize the background and border, respectively, of rectangular mouse selections when you click and drag on the workspace. The alternate-background-color property defines the color of the vertical maximization limit line (light orange by default).
Once you're done editing the CSS file, save it, exit PixInsight (if it's running) and run it. The core CSS file is fetched once upon application startup.
On Windows (also on Linux if the application has been installed on a system directory) you'll need administrative privileges to save the modified file. You can instead save the file to your Documents folder and copy it back to the bin folder with Windows Explorer, which will ask for permission.
In the final 1.8.0 release it will be also possible to specify a background image for the workspace with the background-image property, but this still doesn't work in 1.8.0 RC7.