Variable: erc-nicks-contrast-range

erc-nicks-contrast-range is a customizable variable defined in erc-nicks.el.gz.

Value

(4.3 . 12.5)

Documentation

Desired range of contrast as a cons of (MIN . MAX).

When erc-nicks-add-contrast and/or erc-nicks-invert appear in erc-nicks-color-adjustments, MIN specifies the minimum amount of contrast allowed between a buffer's background and its foreground colors. Depending on the background, nicks may appear tinted in pastels or shaded with muted grays. MAX works similarly for reducing contrast, but only when erc-nicks-cap-contrast is active. Users with lighter backgrounds may want to lower MAX significantly. Either value can range from 1.0 to 21.0(:1) but may produce unsatisfactory results toward either extreme.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-nicks.el.gz
(defcustom erc-nicks-contrast-range '(4.3 . 12.5)
  "Desired range of contrast as a cons of (MIN . MAX).
When `erc-nicks-add-contrast' and/or `erc-nicks-invert' appear in
`erc-nicks-color-adjustments', MIN specifies the minimum amount
of contrast allowed between a buffer's background and its
foreground colors.  Depending on the background, nicks may appear
tinted in pastels or shaded with muted grays.  MAX works
similarly for reducing contrast, but only when
`erc-nicks-cap-contrast' is active.  Users with lighter
backgrounds may want to lower MAX significantly.  Either value
can range from 1.0 to 21.0(:1) but may produce unsatisfactory
results toward either extreme."
  :type '(cons float float))