[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/alect-themes 3139f1a 017/269: Add description of customizi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/alect-themes 3139f1a 017/269: Add description of customizing color palettes |
Date: |
Thu, 21 Oct 2021 17:58:40 -0400 (EDT) |
branch: elpa/alect-themes
commit 3139f1a2509c6e065514dc55e9c1bb68d43d2614
Author: Alex Kost <alezost@gmail.com>
Commit: Alex Kost <alezost@gmail.com>
Add description of customizing color palettes
---
README.md | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/README.md b/README.md
index a73520c..4bc14ea 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,31 @@ To load a theme on Emacs start, add this to your init file:
(load-theme 'alect-light t)
```
+## Configuration
+
+All color values for the themes are stored in `alect-colors`
+variable. You can change this variable by customizing it or you may
+use `alect-generate-colors` function (see how the variable is defined
+in the code).
+
+However those methods redefine the whole variable, so if the palette
+will be changed in future (it happens sometimes) or a new theme will
+be added (it's planned), you may not notice that. So you can use
+another approach if you want to modify only some colors.
+
+Let's say you don't like `cursor` color for the light theme and
+`red-2` color (it is used for `font-lock-string-face`, and you
+strongly believe that «strings should not be red!!») for both themes.
+You can change those colors by putting this into your `.emacs`:
+
+```lisp
+(eval-after-load 'alect-themes
+ '(progn
+ (alect-set-color 'light 'cursor "black")
+ (alect-set-color 'light 'red-2 "#126512")
+ (alect-set-color 'dark 'red-2 "#32cd32")))
+```
+
## Screenshots
### Custom, emacs-lisp, minibuffer ("DejaVu Sans Mono-12" font)
- [nongnu] elpa/alect-themes 786cb90 043/269: Inherit comment delimiter from comment face, (continued)
- [nongnu] elpa/alect-themes 786cb90 043/269: Inherit comment delimiter from comment face, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 27bdbbf 047/269: Add support for substituting colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 61dac55 051/269: Update README, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes b0a96eb 063/269: Modify red colors for the dark theme, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes ba7beed 007/269: Add .gitignore, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes b51ffad 012/269: Update README, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes e25ff17 008/269: Update package commentary, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 2591fdd 013/269: Add faces for sh-mode, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes fbf0829 011/269: Update colors sample, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes dc88e28 015/269: Add customization type for `alect-colors' variable, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 3139f1a 017/269: Add description of customizing color palettes,
ELPA Syncer <=
- [nongnu] elpa/alect-themes 95c7091 021/269: Combine `alect-get-faces' and `alect-get-vars', ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 7b42f0a 022/269: Add support for inverted (alternative) themes, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 602655e 023/269: Add files for alternative themes, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes d3443de 024/269: Replace white/gray/black with a gray group, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes a10591e 025/269: Improve custom-button faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes ef4816b 026/269: Improve yellow colors for the light theme, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 6c459a6 029/269: Update .gitignore, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes ff095a8 030/269: Update README, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 209804e 037/269: Inherit `org-agenda-structure' from `alect-title', ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes b0ee25c 040/269: Delete unknown w3m faces, ELPA Syncer, 2021/10/21