branch: externals/ef-themes
commit 4bd6b796556a999e06f6dc51d75b3a47ca9c7bf9
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Update the sample configuration to also show how to load a theme
---
 README.md  | 7 ++++++-
 README.org | 8 +++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 531e26bd30..40e9440261 100644
--- a/README.md
+++ b/README.md
@@ -40,5 +40,10 @@ to blend Ef and Modus into one collection).
   :config
   ;; All customisations here.
   (setq modus-themes-mixed-fonts t)
-  (setq modus-themes-italic-constructs t))
+  (setq modus-themes-italic-constructs t)
+
+  ;; Finally, load your theme of choice (or a random one with
+  ;; `modus-themes-load-random', `modus-themes-load-random-dark',
+  ;; `modus-themes-load-random-light').
+  (modus-themes-load-theme 'ef-summer))
 ```
diff --git a/README.org b/README.org
index 58b436c899..a7f9c0a89d 100644
--- a/README.org
+++ b/README.org
@@ -144,8 +144,14 @@ to blend Ef and Modus into one collection).
    ("C-<f5>" . modus-themes-select)
    ("M-<f5>" . modus-themes-load-random))
   :config
+  ;; All customisations here.
   (setq modus-themes-mixed-fonts t)
-  (setq modus-themes-italic-constructs t))
+  (setq modus-themes-italic-constructs t)
+
+  ;; Finally, load your theme of choice (or a random one with
+  ;; `modus-themes-load-random', `modus-themes-load-random-dark',
+  ;; `modus-themes-load-random-light').
+  (modus-themes-load-theme 'ef-summer))
 #+end_src
 
 * Themes for red-green or blue-yellow color deficiency

Reply via email to