branch: elpa/alect-themes
commit dc88e28fbd8fe1c1766c277f6cce7bf3840f673f
Author: Alex Kost <[email protected]>
Commit: Alex Kost <[email protected]>
Add customization type for `alect-colors' variable
---
alect-themes.el | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/alect-themes.el b/alect-themes.el
index b7ad93f..5dbc0ba 100644
--- a/alect-themes.el
+++ b/alect-themes.el
@@ -5,7 +5,7 @@
;; Author: Alex Kost <[email protected]>
;; Created: 10 Jul 2013
;; Version: 0.1.6
-;; Last-Updated: 2013-12-11
+;; Last-Updated: 2013-12-12
;; Package-Requires: ((emacs "24.0"))
;; URL: http://github.com/alezost/alect-themes
;; Keywords: color theme
@@ -129,10 +129,18 @@ values should be in matching order)."
(magenta "#a020f0" "#e353b9")
(magenta+1 "#9400d3" "#e81eda")
(magenta+2 "#8b008b" "#be59d8")))
- "Alist of alect color themes.
-
-Each association is a cons cell of a theme name and alist of
-color names and values."
+ "List of lists containing color palettes for alect-themes.
+
+List ((theme (color . val) ...) ...).
+
+Each list is a cons cell of a theme name (symbol) and alist of
+color names (symbols) and values (strings)."
+ :type '(alist :key-type symbol
+ :value-type (alist :key-type symbol
+ :value-type string))
+ ;; another suitable variant
+ ;; :type '(repeat (cons symbol
+ ;; (alist :key-type symbol :value-type string)))
:group 'alect)
(defun alect-get-color (theme-name color-name)