[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/autothemer 00a8643066: Update readme.md
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/autothemer 00a8643066: Update readme.md |
Date: |
Sun, 7 Aug 2022 23:58:12 -0400 (EDT) |
branch: elpa/autothemer
commit 00a8643066357185bf6d8483dae2074fdc62e557
Author: Jason Milkins <jasonm23@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Update readme.md
---
readme.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/readme.md b/readme.md
index 108c2462f1..6865091c2a 100644
--- a/readme.md
+++ b/readme.md
@@ -28,8 +28,8 @@ Take a look at the example below.
(example-cyan "#22DDFF" "#00FFFF"))
;; specifications for Emacs faces.
- ((button (:underline t :weight 'bold :foreground yellowish))
- (error (:foreground reddish)))
+ ((button (:underline t :weight 'bold :foreground example-yellow))
+ (error (:foreground example-red)))
;; Forms after the face specifications are evaluated.
;; (palette vars can be used, read below for details.)
@@ -45,7 +45,7 @@ Take a look at the example below.
## Faces and Color Classes
-One of the things that makes writing themes for Emacs difficult is the clumsy
syntax of `defface`, the macro used to configre Emacs `face` definitions.
+One of the things that makes writing themes for Emacs difficult is the syntax
of `defface`, the macro used to configre Emacs `face` definitions.
Because the syntax isn't particularly developer friendly, it usually results
in themes with limited support for different color displays, usually GUI /
24bit themes are made, and the results in the terminal are often sub par. On
occassion a theme does appear that provides better support for multiple display
types, but due to the manual work involved in adding face specs, mode support
is limited and development often stalls.
@@ -115,12 +115,12 @@ As we can see in the example above face specs now look
like this:
```
;; specifications for Emacs faces.
-((button (:underline t :weight 'bold :foreground yellowish))
- (error (:foreground reddish)))
+((button (:underline t :weight 'bold :foreground example-yellow))
+ (error (:foreground example-red)))
```
color names from the palette can be used directly, as we can see here.
-The faces are using colors named `yellowish` and `redish`.
+The faces are using colors named `example-yellow` and `example-red`.
One important thing to remember is that we are in a different context
to `deftheme` so symbols like `bold` or faces we want to `:inherit`
@@ -181,9 +181,9 @@ variable that can be used in other parts of your emacs
configuration.
### Themes using Autothemer
+- [Gruvbox](https://github.com/greduan/emacs-theme-gruvbox)
- [Darktooth](https://github.com/emacsfodder/emacs-theme-darktooth)
- [Creamsody](https://github.com/emacsfodder/emacs-theme-creamsody)
-- [Gruvbox](https://github.com/greduan/emacs-theme-gruvbox)
...
### Contributing
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/autothemer 00a8643066: Update readme.md,
ELPA Syncer <=