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/contrib/colors/config.el

40 lines
1.2 KiB
EmacsLisp
Raw Normal View History

;;; config.el --- Colors Layer configuration File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 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.")
2015-02-01 06:31:39 +00:00
(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))
2015-06-03 04:37:15 +00:00
(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))