Add config for rainbow-{delimiters,identifiers}

This commit is contained in:
Adam Goldsmith 2019-02-06 00:03:47 -05:00
parent e05a22c2b4
commit e1b935d964
2 changed files with 17 additions and 1 deletions

View File

@ -67,6 +67,16 @@
'(nm-read-face ((t (:inherit default))))
'(column-enforce-face ((((class mono)) :inverse-video t :weight bold :underline t)
(t :background "gray20" :foreground "violet"))))
(t :background "gray20" :foreground "violet")))
'(rainbow-delimiters-depth-1-face ((t (:inherit rainbow-delimiters-base-face :foreground "grey80"))))
'(rainbow-delimiters-depth-2-face ((t (:inherit rainbow-delimiters-base-face :foreground "red"))))
'(rainbow-delimiters-depth-3-face ((t (:inherit rainbow-delimiters-base-face :foreground "orange"))))
'(rainbow-delimiters-depth-4-face ((t (:inherit rainbow-delimiters-base-face :foreground "yellow"))))
'(rainbow-delimiters-depth-5-face ((t (:inherit rainbow-delimiters-base-face :foreground "green"))))
'(rainbow-delimiters-depth-6-face ((t (:inherit rainbow-delimiters-base-face :foreground "#44444ff"))))
'(rainbow-delimiters-depth-7-face ((t (:inherit rainbow-delimiters-base-face :foreground "#dd1299"))))
'(rainbow-delimiters-depth-8-face ((t (:inherit rainbow-delimiters-base-face :foreground "violet"))))
'(rainbow-delimiters-depth-9-face ((t (:inherit rainbow-delimiters-base-face :foreground "lime")))))
(provide-theme 'fred)

View File

@ -787,6 +787,12 @@
(setq darkroom-text-scale-increase 1
darkroom-margins .1))
(use-package rainbow-identifiers
:config
(setq rainbow-identifiers-choose-face-function 'rainbow-identifiers-cie-l*a*b*-choose-face
rainbow-identifiers-cie-l*a*b*-lightness 90
rainbow-identifiers-cie-l*a*b*-saturation 75))
;;; Local Variables
(add-to-list 'safe-local-eval-forms '(outline-hide-body))
;; Local Variables: