branch: externals/ef-themes
commit 965053727ace036c4feb6bf2dc80d1b40e8a7965
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Update ef-themes to version 1.6.0
---
CHANGELOG.org | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
README.org | 20 ++++----
ef-themes.el | 2 +-
3 files changed, 158 insertions(+), 12 deletions(-)
diff --git a/CHANGELOG.org b/CHANGELOG.org
index 2162e9c46e..6a9b3c5c58 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -9,6 +9,151 @@ project's main git repository:
<https://git.sr.ht/~protesilaos/ef-themes>.
The newest release is at the top. For further details, please consult
the manual: <https://protesilaos.com/emacs/ef-themes>.
+* Version 1.6.0 on 2024-03-11
+:PROPERTIES:
+:CUSTOM_ID: h:f3311a84-ba62-4130-bb5a-2c5be694e494
+:END:
+
+This version adds some minor refinements and extends support for more
+packages or faces.
+
+** Support for the built-in ERC feature
+:PROPERTIES:
+:CUSTOM_ID: h:fb8c9072-059e-40d2-859a-d4a2e1319e8e
+:END:
+
+The ~erc~ is one of the IRC clients built into Emacs. The other is
+~rcirc~, which the Ef themes have supported for a long time.
+
+All ERC buffers should now be consistent with the themes.
+
+Note that in the interest of simplicity I am not covering the niche
+feature of IRC to pass hardcoded colour values to some input. Those
+will not be consistent with the themes and it is up to the user to
+pick a legible colour combination (or, you know, just keep it simple).
+
+** Better colours for the ~ztree~ package
+:PROPERTIES:
+:CUSTOM_ID: h:856d4c3d-63c0-4d0d-80f8-fcc1e698d199
+:END:
+
+With ~ztree~ the user can check the differences between two
+directories. All relevant colour-coding is now consistent with the Ef
+themes and will use the palette mappings of the active theme.
+
+** Support for the built-in ~window-divider-mode~
+:PROPERTIES:
+:CUSTOM_ID: h:61eb251e-5da9-4b8b-923f-03c365bc0f1e
+:END:
+
+This mode controls the style of window dividers. Those now are using a
+grey value instead of the one applied to the main foreground. In other
+words, they are more subtle.
+
+** The ~highlight-indentation~ package is covered
+:PROPERTIES:
+:CUSTOM_ID: h:0d754e33-5c05-45e1-ac5f-12061e7f6728
+:END:
+
+Thanks to Oleksii (Alex) Koval for the contribution. This was done in
+pull request 38: <https://github.com/protesilaos/ef-themes/pull/38>.
+The change is well below the ~15 line limit, meaning that Oleksii does
+not need to assign copyright to the Free Software Foundation.
+
+** Some active region background colours are a bit more prominent
+:PROPERTIES:
+:CUSTOM_ID: h:f1836222-afe6-478d-8cc7-bbf849c75066
+:END:
+
+The active region background colour of the ~ef-autumn~, ~ef-night~,
+~ef-symbiosis~, and ~ef-tritanopia-dark~ themes is slightly more
+noticeable now. Before is was too subtle and thus hard to spot in some
+scenaria.
+
+** An easier to spot magenta value for ~ef-tritanopia-dark~
+:PROPERTIES:
+:CUSTOM_ID: h:eff45ce7-d21c-42cf-8a89-19a656705925
+:END:
+
+Due to the requirements of blue-yellow colour deficiency (tritanomaly
+or tritanopia), this theme uses a more restricted set of colours, with
+carefully picked shades of magenta representing a neutral midpoint
+between red and cyan. One of the magenta values that was used in many
+parts of this theme is now recalibrated to better perform its function
+as a third and finer accent in relevant interfaces.
+
+** Refined colours for colour-coded backgrounds in dark themes
+:PROPERTIES:
+:CUSTOM_ID: h:80c7b4b1-0b25-45a0-98bc-8d6c33b06170
+:END:
+
+In many interfaces the themes apply colour-coded styles to communicate
+meaning. For example, in Dired buffers items that are flagged for
+deletion have a red background while those that are merely selected
+use a green hue (deuteranopia and tritanopia themes have different
+colour-coding schemes). In almost all the dark Ef themes, the
+applicable values are now slightly more intense to (i) better
+complement the foreground they are combined with and (ii) perform
+their intended function of providing visual feedback.
+
+** The ~gnus-button~ face is no longer underlined
+:PROPERTIES:
+:CUSTOM_ID: h:8be4d951-3a2e-4e01-b0dd-dfec44d0d8a8
+:END:
+
+This is because it applies in places where an underline is either
+misleadingly styled like a link or is the kind of extra emphasis we do
+not need (one of my design principles is to avoid exaggerations).
+
+** The ~message-separator~ has a less intense background
+:PROPERTIES:
+:CUSTOM_ID: h:0b184e13-d1c4-4b77-9717-10366f58c905
+:END:
+
+This is about the text found in message/email composition buffers that
+separates the headers from the body and by default reads =--text
+follows this line--=. Its grey background is more subtle now and
+remains easy to spot without being needlessly intense.
+
+** The ~org-document-info-keyword~ inherits ~ef-themes-fixed-pitch~
+:PROPERTIES:
+:CUSTOM_ID: h:7ead15d9-ac66-4c41-a1d0-6ea99cb6dc84
+:END:
+
+This means that the text is rendered in a monospaced font if the user
+option ~ef-themes-mixed-fonts~ is set to a non-nil value.
+
+** Semantic mappings for terminals
+:PROPERTIES:
+:CUSTOM_ID: h:006436a1-638c-4aa8-ac38-654a246eda3f
+:END:
+
+The Ef themes do not hardcode colour values. Instead, they define
+named colours and semantic mappings. The latter are applied to all the
+relevant faces. The user can thus override the palette to apply
+changes across the supported packages. The manual explains the
+technicalities.
+
+To extend this facility, all Ef themes now include semantic mappings
+that are used by terminals or anything that reads ANSI escape
+sequences. Most users should not have to touch these, but those who
+want to do it can either use the ~ef-themes-common-palette-overrides~
+or the equivalent user option of each individual theme (e.g.
+~ef-summer-palette-overrides~).
+
+The commands ~ef-themes-preview-colors~ and ~ef-themes-preview-colors-current~
+are relevant to identify the names of the mappings or colours
+to-be-overridden.
+
+** The code underpinning the ~ef-themes-heading~ user option is improved
+:PROPERTIES:
+:CUSTOM_ID: h:d1b4cd8c-9b33-455b-ae31-ae64de80d2ae
+:END:
+
+Thanks to Gautier Ponsinet for porting the implementation from my
+~modus-themes~ (I thought I had done it long ago). Gautier's
+contribution was sent to me as a patch via email.
+
* Version 1.5.0 on 2024-01-11
:PROPERTIES:
:CUSTOM_ID: h:1f0bf8f2-8ed3-48d0-b6a8-725eccf579ff
@@ -1094,7 +1239,8 @@ with/without overrides and when recursive mappings are
introduced.
;; Ignore the overrides and get the original value.
(ef-themes-get-color-value 'variable)
-;; => "#5250ef"
+;; =>
+ "#5250ef"
;; Read from the overrides and deal with any recursion to find the
;; underlying value.
diff --git a/README.org b/README.org
index aa82beba0f..3bdf560415 100644
--- a/README.org
+++ b/README.org
@@ -4,9 +4,9 @@
#+language: en
#+options: ':t toc:nil author:t email:t num:t
#+startup: content
-#+macro: stable-version 1.5.0
-#+macro: release-date 2024-01-11
-#+macro: development-version 1.6.0-dev
+#+macro: stable-version 1.6.0
+#+macro: release-date 2024-03-11
+#+macro: development-version 1.7.0-dev
#+export_file_name: ef-themes.texi
#+texinfo_filename: ef-themes.info
#+texinfo_dir_category: Emacs misc features
@@ -1341,10 +1341,10 @@ everything most users need.
- elfeed
- embark
- epa
-- erc [ Part of {{{development-version}}}. ]
+- erc
- ert
- eshell
-- evil [ Part of {{{development-version}}}. ]
+- evil
- eww
- flycheck
- flymake
@@ -1356,10 +1356,10 @@ everything most users need.
- git-rebase
- gnus
- hi-lock (=M-x highlight-regexp=)
-- highlight-indentation [ Part of {{{development-version}}}. ]
+- highlight-indentation
- ibuffer
- image-dired
-- imenu-list [ Part of {{{development-version}}}. ]
+- imenu-list
- info
- isearch, occur, query-replace
- jit-spell
@@ -1371,7 +1371,7 @@ everything most users need.
- man
- marginalia
- markdown-mode
-- mct [ Part of {{{development-version}}}. ]
+- mct
- messages
- mode-line
- mood-line
@@ -1424,10 +1424,10 @@ everything most users need.
- which-key
- whitespace-mode
- widget
-- window-divider-mode [ Part of {{{development-version}}}. ]
+- window-divider-mode
- writegood-mode
- woman
-- ztree [ Part of {{{development-version}}}. ]
+- ztree
** Implicitly supported packages or face groups
:PROPERTIES:
diff --git a/ef-themes.el b/ef-themes.el
index d8c2e9c245..dbe51fd23e 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -5,7 +5,7 @@
;; Author: Protesilaos Stavrou <[email protected]>
;; Maintainer: Protesilaos Stavrou <[email protected]>
;; URL: https://git.sr.ht/~protesilaos/ef-themes
-;; Version: 1.5.1
+;; Version: 1.6.0
;; Package-Requires: ((emacs "27.1"))
;; Keywords: faces, theme, accessibility