FWIW I find that I’m writing (in 4.0 Prevew 406) in the dark DEC mode (more or less Amber – #FFC990),
but sometimes reading in the light (system font) mode.
Toggling dark ⇄ light with ⌘T
Expand disclosure triangle to view shell script
current_mode=$(defaults read com.hogbaysoftware.WriteRoom "editor.appearance" 2>/dev/null)
if [[ "$current_mode" == "dark" ]]; then
new_mode="light"
else
new_mode="dark"
fi
defaults write com.hogbaysoftware.WriteRoom "editor.appearance" "$new_mode"
osascript -l JavaScript -e 'Application("WriteRoom").quit()'
sleep 0.25
open -a "WriteRoom"
Keyboard Maestro version:
Toggle Writeroom Light System ⇄ Dark DEC.kmmacros.zip (1.6 KB)