Variable: css-fontify-colors

css-fontify-colors is a customizable variable defined in css-mode.el.gz.

Value

t

Documentation

Whether CSS colors should be fontified using the color as the background.

When non-nil, a text representing CSS color will be fontified such that its background is the color itself. E.g., #ff0000 will be fontified with a red background.

This variable was added, or its default value changed, in Emacs 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/css-mode.el.gz
(defcustom css-fontify-colors t
  "Whether CSS colors should be fontified using the color as the background.
When non-nil, a text representing CSS color will be fontified
such that its background is the color itself.  E.g., #ff0000 will
be fontified with a red background."
  :version "26.1"
  :group 'css
  :type 'boolean
  :safe 'booleanp)