2015-01-14 04:12:56 +00:00
|
|
|
;;; 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
|
|
|
|
|
2015-01-26 04:40:07 +00:00
|
|
|
;; Variables
|
|
|
|
|
|
|
|
(defvar colors-enable-rainbow-identifiers nil
|
2015-05-10 14:36:07 +00:00
|
|
|
"If non nil the `rainbow-identifers' package is enabled.")
|
2015-02-01 06:31:39 +00:00
|
|
|
|
2015-02-02 02:29:07 +00:00
|
|
|
(defvar colors-enable-nyan-cat-progress-bar nil
|
2015-05-10 14:36:07 +00:00
|
|
|
"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))
|
2015-08-18 22:02:56 +00:00
|
|
|
(spacemacs-light . (65 45))
|
2015-06-03 04:37:15 +00:00
|
|
|
(spacemacs-dark . (125 100))
|
2015-05-10 14:36:07 +00:00
|
|
|
(zenburn . (40 65)))
|
|
|
|
"alist of theme symbols and pair of saturation and lightness values.")
|
2015-01-26 04:40:07 +00:00
|
|
|
|
|
|
|
;; Command prefixes
|
|
|
|
|
|
|
|
(when colors-enable-rainbow-identifiers
|
2015-03-21 01:49:50 +00:00
|
|
|
(setq colors/key-binding-prefixes '(("Ci" . "colors-identifiers")))
|
|
|
|
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
|
|
|
|
colors/key-binding-prefixes))
|