Note on Ement colors and fonts
The ement.el library by Adam Porter (also known as “alphapapa”) defaults to a method of colorizing usernames in a rainbow style. This is controlled by the user option ement-room-prism and can be disabled with:
(setq ement-room-prism nil)The contrast ratio of these colors is governed by another user option: ement-room-prism-minimum-contrast. By default, it is set to 6 which is slightly below our nominal target. Try this instead:
(setq ement-room-prism-minimum-contrast 7)With regard to fonts, Ement depends on shr (Note on SHR fonts).
Since we are here, here is an excerpt from Ement’s source code:
(defcustom ement-room-prism-minimum-contrast 6
"Attempt to enforce this minimum contrast ratio for user faces.
This should be a reasonable number from, e.g. 0-7 or so."
;; Prot would almost approve of this default. :) I would go all the way
;; to 7, but 6 already significantly dilutes the colors in some cases.
:type 'number)Yes, I do approve of that default. Even a 4.5 (the WCAG AA rating) would be a good baseline for many themes and/or user configurations. Our target is the highest of the sort, though we do not demand that everyone conforms with it.