I pushed some stuff to start supporting different color themes. The current work entails:
- Extended ansi_format/3 to accept abstract descriptions that can be mapped to concrete attributes using a hook. The default mapping is in boot/messages.pl. library(theme/dark) is the first implementation.
- Added support for 8-bit and true color ANSI sequences to ansi_format/3. See comments in the library.
For now, the dark theme uses lighter versions of some of the colors. I have little clue about dark themes. They are hot, but I consider them poorly readable. Might be my eyes
Work to do is to support the 8-bit and true color sequences in the SWI console emulation (swipl-win) and make proper themes. An open question is whether the current design is the right approach, notably whether there might be alternatives that reuse the work by others?
Another issue are dark themes for the native development tools (PceEmacs, tracer, etc) and SWISH. XPCE supports styling, so this should be doable.
Possibly related: do we want multi-lingual messages? Most of the infrastructure is already there, so if there are people willing to write translation files, it is worth considering.