[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 91ce02b 09/54: Expand README on fa
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 91ce02b 09/54: Expand README on face customisation |
Date: |
Thu, 4 Jun 2020 08:20:10 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 91ce02b12791a61c35e45b5a44ea80b708744a23
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Expand README on face customisation
---
README.org | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/README.org b/README.org
index 0a31c36..ef72bda 100644
--- a/README.org
+++ b/README.org
@@ -440,6 +440,38 @@ Len's sample package declaration (with comments by me):
(load-theme 'modus-vivendi t)) ; load the theme
#+end_src
+Perhaps you want something simpler, such as a nice style for the cursor:
+
+#+begin_src emacs-lisp
+(modus-operandi-theme-with-color-variables
+ (custom-theme-set-faces
+ 'modus-operandi
+ `(cursor ((t (:background ,blue-alt))))))
+
+(modus-vivendi-theme-with-color-variables
+ (custom-theme-set-faces
+ 'modus-vivendi
+ `(cursor ((t (:background ,red-alt))))))
+#+end_src
+
+The code for the bespoke =after-load-theme-hook= could be something like
+the following (courtesy of the
[[https://github.com/seagle0128/.emacs.d/blob/master/lisp/init-funcs.el][Centaur
Emacs project]]):
+
+#+begin_src emacs-lisp
+(defvar after-load-theme-hook nil
+ "Hook run after a color theme is loaded using `load-theme'.")
+
+(defun run-after-load-theme-hook (&rest _)
+ "Run `after-load-theme-hook'."
+ (run-hooks 'after-load-theme-hook))
+
+(advice-add #'load-theme :after #'run-after-load-theme-hook)
+#+end_src
+
+If you need more ideas check how I configure the themes in
[[https://gitlab.com/protesilaos/dotemacs][my dotemacs]].
+If something is not clear or not working as intended, please let me
+know.
+
*** Further considerations
:PROPERTIES:
:CUSTOM_ID: h:4acda0f1-564e-48ff-8998-ebf7618377dd
- [elpa] externals/modus-operandi-theme 7a8a7cb 19/54: Implement minor palette tweaks for Modus Operandi, (continued)
- [elpa] externals/modus-operandi-theme 7a8a7cb 19/54: Implement minor palette tweaks for Modus Operandi, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 1faab94 30/54: Tweak MAGIT header line key colour, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 9b5d56d 33/54: Add support for EROS, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 40667a5 37/54: Review EROS face (better for longer echo messages), Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 39809b0 39/54: Review IMENU-LIST faces (more harmonious combos), Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme e42eb37 45/54: Add support for missing `helm-comint-*' faces, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 4a9bd23 06/54: Apply optional highest scale to org-document-title, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme feaef70 08/54: Refine ORG-MODE faces for mixed font workflows, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme c72b01c 11/54: Add support for INDIUM, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 58a9924 12/54: Add support for VDIFF, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 91ce02b 09/54: Expand README on face customisation,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme 4b3f6a3 27/54: Add tentative support for CIRCE, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 148f73a 46/54: Add support for missing `helm-eshell-*' faces, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 7c67f73 50/54: Add support for EL-SEARCH, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme f76c36a 13/54: Major review of colours for tabs. Tweak faces., Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme a937f90 14/54: Modus Vivendi: tweak colour for header lines, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 78a2baf 18/54: Clarify that Org #+TITLE does not scale in v0.8.1, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme a99bec3 20/54: Improve README section on font family settings, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 985675e 21/54: Allow byte compile with `eval-when-compile', Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme c05fbab 22/54: Do not `autoload' defcustom, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme ccc6d66 24/54: Minor refinements to some RCIRC faces, Stefan Monnier, 2020/06/04