;;; customizeRainbowDelimiters.el --- ;; Copyright (C) 2018, Paul Horton ;; License: GNU GPLv3 ;; Author: Paul Horton ;; Maintainer: Paul Horton ;; Created: 20181209 ;; Updated: 20181209 ;; Version: 0.0 ;; Keywords: rainbow-delimeters, colors ;;; Commentary: ;;; Change Log: ;;; Code: ;; Customize rainbow-delimiters to cycle through three colors. (setq rainbow-delimiters-max-face-count 3) (cl-loop with light = ["#6276ba" "cyan2" "#A09183"] with dark = ["yellow1" "red3" "sky blue"] for depth from 1 to rainbow-delimiters-max-face-count do (face-spec-set (intern (format "rainbow-delimiters-depth-%d-face" depth)) `( (((class color) (background light)) :foreground ,(elt light (1- depth))) (((class color) (background dark)) :foreground ,(elt dark (1- depth))) ) 'face-defface-spec)) ;;; customizeRainbowDelimiters.el ends here