[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cyberpunk-theme 6d486cb 131/132: Theme adjustment example
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cyberpunk-theme 6d486cb 131/132: Theme adjustment example |
Date: |
Thu, 21 Oct 2021 18:04:05 -0400 (EDT) |
branch: elpa/cyberpunk-theme
commit 6d486cb9867ec0c6dc89d145b3805632b6ca339a
Author: nemo <nemo1211@gmail.com>
Commit: nemo <nemo1211@gmail.com>
Theme adjustment example
---
README.md | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/README.md b/README.md
index 4ced7ee..e7bbfd2 100644
--- a/README.md
+++ b/README.md
@@ -97,6 +97,26 @@ In addition to basic face settings, cyberpunk-theme has
specially-tailored suppo
* wanderlust\*
* whitespace-mode\*
+User Customizations
+===================
+
+Like the theme but wish a few details could be adjusted to your own individual
needs? No problem--you can adjust individual theme face attributes anywhere in
your ~/.emacs.d configurations files. One way to accomplish this would be to
create a hook that runs after load-theme is ran. Then, you can add hooks to
change individual faces in the theme. For example, if rather than the default
you wanted isearch matches to be underlined in yellow, you could place the
following anywhere in your e [...]
+
+```lisp
+(defvar after-load-theme-hook nil
+ "Hook run after a color theme is loaded using `load-theme'.")
+(defadvice load-theme (after run-after-load-theme-hook activate)
+ "Run `after-load-theme-hook'."
+ (run-hooks 'after-load-theme-hook))
+
+(add-hook 'after-load-theme-hook
+ (lambda ()
+ (set-face-attribute 'lazy-highlight nil
+ :underline '(:color "yellow")
+ :foreground 'unspecified
+ :background 'unspecified)))
+```
+
Acknowledgments
===============
- [nongnu] elpa/cyberpunk-theme d76e155 078/132: Merge branch 'master' of github.com:n3mo/cyberpunk-theme.el, (continued)
- [nongnu] elpa/cyberpunk-theme d76e155 078/132: Merge branch 'master' of github.com:n3mo/cyberpunk-theme.el, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme e3f79c0 085/132: magit: Add more magit-diff faces., ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme 6a76275 098/132: Added helm-ff-directory color to make it look better, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme 88eff8a 107/132: Merge pull request #31 from tumashu/master, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme bd4138c 109/132: Merge pull request #33 from tumashu/master, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme 0e93951 113/132: Fixes to customize buttons, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme 17f68f8 115/132: Fringe color set explicitly, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme 07edefd 128/132: Merge pull request #42 from winny-/variousTweaks, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme eb7b21b 118/132: Merge pull request #38 from xuchunyang/patch-1, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme 4c6ac25 119/132: Add original author's name to provenance description, ELPA Syncer, 2021/10/21
- [nongnu] elpa/cyberpunk-theme 6d486cb 131/132: Theme adjustment example,
ELPA Syncer <=