ref: c214be3398a7671c6ea975f97740abdd38e910ea face-shift/README.md -rw-r--r-- 1.8 KiB
c214be33Philip Kaludercic Increase default face-shift-intensity value 5 months ago


face-shift lets the user shift the colours in a buffer uniformly towards a certain hue. This is done by linearly transforming the default colours of a face, and then applying this transformed/shifted colour just to this buffer, thus not changing all faces at once.

My recommendation is to use no theme when face-shift is in use, to avoid confusion, although it certainly is possible.

#How to use

Using MELPA and setup, a minimal setup might look something like this:

(setup (:package face-shift)
  (:option face-shift-mode t))

The main function for users is face-shift-mode, that turns on a global minor mode, to shift all the faces in all buffers.

This will shift the fore- and background colours of all faces in face-shift-faces, according to face-shift-shifts. This variable is an alist of the form (MAJOR-MODE . COLOUR-STRING). This means that face-shift-setup will iterate the list for so long until the current major mode is derived from a MAJOR-MODE, and will then use COLOUR-STRING to shift all colours. Modify this variable to customise face-shift-setup's behaviour.




  • Due to Emacs' implementation of fringes, it's not possible to shift the colour of the fringe for just one buffer.

Any further bugs or questions can be submitted to my public inbox.


face-shfit.el is distributed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication license.