Tech. Note 10: Dark Mode
To enable Dark Mode for Guiffy involves 2 steps.
1) Select Guiffy's Dark Style (Guiffy2022Dark):
Options -> Style & Syntax -> Styles...
2) Set Guiffy's Look And Feel to FlatDarkLaf:
On Windows, MacOS, and Linux platforms:
Edit the guiffy.properties file located in Guiffy's install folder as follows.
Guiffy's default install paths are:
- Windows: /Program Files/Guiffy
- Linux: /HOME/Guiffy
- MacOS: /Applications/Guiffy
Edit guiffy.properties, add the vm_parameter to specify the FLATDarkLaf:
vm_parameters=-Dguiffy.laf=com.formdev.flatlaf.FlatDarkLaf
NOTE: Multiple vm_parameters are separated by space: For example:
vm_parameters=-Xmx512m -Dguiffy.laf=com.formdev.flatlaf.FlatDarkLaf
On Unix and Other platforms:
Edit the guiffy.lax file in Guiffy's install folder as follows:
Guiffy's default install paths are:
- Unix: /usr/local/bin/Guiffy
After the LAX.COMMAND.LINE.ARGS line:
lax.command.line.args=$CMD_LINE_ARGUMENTS$
add the line:
lax.nl.java.option.additional=-Dguiffy.laf=com.formdev.flatlaf.FlatDarkLaf
NOTE: To replace the guiffy.lax file you will need to
open the file as Administrator or SuperUser.
Be sure once you're done and save the guiffy.lax file, the
file is actually updated in the Guiffy install folder.
Documentation by
Guiffy Software, Inc. 2023