This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/colors/config.el
2016-01-11 21:42:17 -05:00

38 lines
1.1 KiB
EmacsLisp

;;; config.el --- Colors Layer configuration File for Spacemacs
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; Variables
(defvar colors-enable-rainbow-identifiers nil
"If non nil the `rainbow-identifers' package is enabled.")
(defvar colors-enable-nyan-cat-progress-bar nil
"If non nil all nyan cat packges are enabled (for now only `nyan-mode').")
(defvar colors-theme-identifiers-sat&light
'((jazz . (50 55))
(gotham . (45 60))
(leuven . (100 40))
(material . (95 105))
(monokai . (55 60))
(solarized-dark . (65 55))
(solarized-light . (60 55))
(spacemacs-light . (65 45))
(spacemacs-dark . (125 100))
(zenburn . (40 65)))
"alist of theme symbols and pair of saturation and lightness values.")
;; Command prefixes
(when colors-enable-rainbow-identifiers
(setq colors/key-binding-prefixes '(("Ci" . "colors-identifiers")))
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
colors/key-binding-prefixes))