[semidet,multifile]prolog:console_color(+Term, 
-AnsiAttributes)Hook that allows for mapping abstract terms to concrete ANSI attributes. 
This hook is used by theme files to adjust the rendering based on 
user preferences and context. Defaults are defined in the file boot/messages.pl, default_theme/2.
- See also
- library(theme/dark)for an example implementation and the Term 
values used by the system messages.