branch: elpa/autothemer
commit cb4d4b69f8bb1f8158d2311692b7607794b75829
Author: jasonm23 <jason...@gmail.com>
Commit: jasonm23 <jason...@gmail.com>

    Add docs for autothemer-let-palette
---
 function-reference.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/function-reference.md b/function-reference.md
index 8c6886c8bf..1fb4a63b41 100644
--- a/function-reference.md
+++ b/function-reference.md
@@ -45,6 +45,7 @@ assist with theme building, here are a few highlights...
 - [autothemer-saturated-order](#autothemer-saturated-order--a-b) 
 - 
[autothemer-saturation-group](#autothemer-saturation-group--color--saturation-groups)
 
 - 
[autothemer-sort-palette](#autothemer-sort-palette--theme-colors--sort-fn-group-fn-group-args)
 
+- [autothemer-let-palette](#autothemer-let-palette) 
 ### Internal Functions
 - 
[autothemer--alist-to-reduced-spec](#autothemer--alist-to-reduced-spec--facename-alist)
 - 
[autothemer--approximate-spec](#autothemer--approximate-spec--reduced-spec-theme)
@@ -487,6 +488,21 @@ See `autothemer-group-and-sort` for a full list.
 (autothemer-sort-palette (theme-colors &optional sort-fn group-fn group-args))
 ```
 
+- - -
+### <a id="autothemer-let-palette"></a>autothemer-let-palette
+
+Provide a let block for `body` from `autothemer-current-theme`.
+
+Load/eval the required autothemer source (not byte-compiled) to set
+`autothemer-current-theme', before using `autothemer-let-palette`
+
+<sup>function signature</sup>
+```lisp
+;; assuming your theme has a palette color of juicy-watermelon
+(autothemer-let-palette ;;
+  (message "%s" juicy-watermelon))
+```
+
 - - -
 
 ### <a id="autothemer--alist-to-reduced-spec--facename-alist" 
aria-hidden="true"></a>autothemer--alist-to-reduced-spec internal

Reply via email to