Commit graph

605 commits

Author SHA1 Message Date
Rudolf Adamkovič 0fbc6fa0c3 Synchronize God Mode documentation with upstream 2021-05-05 12:42:09 +02:00
Protesilaos Stavrou 3d64d2d43c
Document support for built-in bookmark.el 2021-05-05 09:12:09 +03:00
Protesilaos Stavrou 14743392d1
Add support for new bookmark-face (emacs28)
This face can be disabled with the following:

    (setq bookmark-fontify nil)

Thanks to Mark Barton for reporting the presence of this new face and
for providing valuable feedback in issue 189:
<https://gitlab.com/protesilaos/modus-themes/-/issues/189>.
2021-05-05 09:07:49 +03:00
Protesilaos Stavrou 03b216733a
Use two words for the mode line, where appropriate
Expands on commit db21134c9f by Rudolf Adamkovič and follows the
suggestion that was put forward in merge request 33:
<https://gitlab.com/protesilaos/modus-themes/-/merge_requests/33>.

Rudolf's contribution constitutes a minor patch that does not require
copyright assignment to the Free Software Foundation (remember that the
Modus themes are built into Emacs).
2021-05-04 19:55:00 +03:00
Protesilaos Stavrou 913a355d1c Merge branch 'main' into 'main'
Spell mode line in code as "mode-line" to match the rest of Emacs

See merge request protesilaos/modus-themes!33
2021-05-04 16:47:43 +00:00
Rudolf Adamkovič db21134c9f Spell mode line in code as "mode-line" to match the rest of Emacs 2021-05-04 18:23:16 +02:00
Protesilaos Stavrou 98d47d7ecf
Remove old obsolete aliases 2021-05-04 12:02:39 +03:00
Protesilaos Stavrou 368c9dc3b6
Tweak foreground of gnus-group level 6 2021-05-04 11:52:01 +03:00
Protesilaos Stavrou 7a0ed69192
Minor amendment to commit 546f7251b4 2021-05-03 22:41:23 +03:00
Protesilaos Stavrou 546f7251b4
Abstract search faces; respect deuteranopia option
The abstraction is done in an effort to ensure consistency between
different face groups, but also to make it easier to propagate
customisation options.

The one option that applies now is for deuteranopia.  It means to use a
blue colour instead of a green one to denote a successful state when
this is evaluated:

    (setq modus-themes-success-deuteranopia t)

For more on this new variable check commit 70456e93f5.
2021-05-03 22:29:53 +03:00
Protesilaos Stavrou fc62dd3e59
Make transient suffix account for deuteranopia
This means to use a blue colour instead of green to denote a successful
state when (setq modus-themes-success-deuteranopia t).

For details on this new variable refer to commit 70456e93f5.
2021-05-03 22:27:22 +03:00
Protesilaos Stavrou 29fd33c194
Tweak ediff current faces
This only affects (setq modus-themes-diffs 'fg-only-deuteranopia) as it
adds a dim background to the current diff hunk.  All other variations of
'modus-themes-diffs' look the same as before.

Note that the meaning of "fg-only" has changed to be red-blue instead of
red-green: <https://gitlab.com/protesilaos/modus-themes/-/issues/183>.
2021-05-03 10:43:23 +03:00
Protesilaos Stavrou e9d5f84223
Add note on configuring god-mode mode-line
Thanks to Rudolf Adamkovič for reporting this in issue 187:
<https://gitlab.com/protesilaos/modus-themes/-/issues/187>.
2021-05-02 19:15:48 +03:00
Protesilaos Stavrou 750813f77b
Increase saturation of fg-comment-yellow
This affects (setq modus-themes-syntax 'yellow-comments) and the other
variants that use yellow comments.

To compare the changes, put these in a buffer and do M-x rainbow-mode
(the package is on GNU ELPA):

    ;; modus-operandi
    (fg-comment-yellow . "#5f4400")
    (fg-comment-yellow . "#794319")

    ;; modus-vivendi
    (fg-comment-yellow . "#cab98f")
    (fg-comment-yellow . "#d0a070")
2021-05-01 10:08:08 +03:00
Protesilaos Stavrou a662751955
Extend colour cycling with buffer-local face
This amends commit 7439b6d76e.
2021-04-30 15:07:46 +03:00
Protesilaos Stavrou 7439b6d76e
Add doc entry on cycling arbitrary colours 2021-04-30 10:00:45 +03:00
Protesilaos Stavrou fce0fbdef4
Revise pulse background colour
Amends commit 0fff304c74.

Thanks to Gustavo Barros for the valuable feedback in issue 185:
<https://gitlab.com/protesilaos/modus-themes/-/issues/185>.
2021-04-29 21:47:38 +03:00
Protesilaos Stavrou 96dea20e63
Recompile info manual 2021-04-29 08:26:56 +03:00
Protesilaos Stavrou dc03e10e7b
Clarify that pulse is part of current dev version
Extends commit 0fff304c74, which relates to issue 185:
<https://gitlab.com/protesilaos/modus-themes/-/issues/185>.
2021-04-29 08:26:36 +03:00
Protesilaos Stavrou 0fff304c74
Add support for built-in pulse faces
The 'pulse-highlight-face' warns in its doc string not to customise it,
though searching through the commit logs in emacs.git as well as greping
the source does not yield any answer as to why that is.  The original
commit was in 2009 and it provides no justification whatsoever.

As such, we decide to customise that face regardless: the worst that
could happen is some subtle bug somewhere (i.e. a different default
colour than expected), which we are fully prepared to deal with.

Thanks to Gustavo Barros for reporting this issue and helping search
through the logs to decide on this course of action:
<https://gitlab.com/protesilaos/modus-themes/-/issues/185>.
2021-04-29 08:18:32 +03:00
Protesilaos Stavrou a83aaebe5c
Simplify Corfu faces to match upstream
Thanks to Daniel Mendler (its developer) for reporting this in issue
184: <https://gitlab.com/protesilaos/modus-themes/-/issues/184>.
2021-04-28 22:09:39 +03:00
Protesilaos Stavrou d70f41631d
Change modus-themes-hl-line 'accented-background
We now use a more prominent background, which hints at a cyan/teal
colour.  The background that was used before was too subtle.

All other options look the same as before.
2021-04-25 18:51:54 +03:00
Protesilaos Stavrou 70456e93f5
New defcustom modus-themes-success-deuteranopia
I think we now are in a position to claim with confidence that the Modus
themes are committed to empower users with red-green colour deficiency.

From now on, every context that has a red/green dichotomy of some sort
and which has no alternative of a red/blue binary should be considered a
serious bug against the themes.  I take this issue as seriously as the
primary objective of the themes for a WCAG AAA standard for legibility.

With this new option, as well as everything that has done into
'modus-themes-diffs' (e.g. the earlier commit 133d64e3a9 or the review
of its "fg only" option[1]), we can finally claim that issue 118 is
addressed, at least in principle.[2]

[1]: <https://gitlab.com/protesilaos/modus-themes/-/issues/183>.
[2]: <https://gitlab.com/protesilaos/modus-themes/-/issues/118>.
2021-04-23 19:24:49 +03:00
Protesilaos Stavrou 133d64e3a9
Make more diff faces/packages respect deuteranopia
This makes them conform with either of those:

     (setq modus-themes-diffs 'deuteranopia)
     (setq modus-themes-diffs 'fg-only-deuteranopia)

Making the themes work well for users with red-green colour deficiency
is a realisable (and laudable) objective that is consistent with our
commitment to uncompromising accessibility.

Given the broad package coverage, this remain work-in-progress that
consists of multiple commits.  The original idea was proposed in issue
118 by Hörmetjan Yiltiz:
<https://gitlab.com/protesilaos/modus-themes/-/issues/118>.
2021-04-23 18:49:41 +03:00
Protesilaos Stavrou 8c1a0943f3
Review Eshell faces; make prompt same as M-x shell 2021-04-23 18:16:29 +03:00
Protesilaos Stavrou 7e42c72696
Simplify eshell-syntax-highlighting faces
Most of the defaults are okay, so there is no need to override them
here.
2021-04-23 18:15:56 +03:00
Protesilaos Stavrou a4e232c119
Revise eshell-prompt-extras faces for consistency 2021-04-23 18:15:41 +03:00
Protesilaos Stavrou f0e28d9105
Revise eshell-git-prompt faces for consistency 2021-04-23 18:15:13 +03:00
Protesilaos Stavrou f49294e58f
Make eshell-fringe-status-success blue, not green
This is to account for red-green colour deficiency.
2021-04-23 18:14:11 +03:00
Protesilaos Stavrou c06ab345ed
Change equake-shell-type-eshell foreground colour 2021-04-23 18:13:13 +03:00
Protesilaos Stavrou 0e506f9cd7
Reword docs of modus-themes-completions 2021-04-21 13:50:49 +03:00
Protesilaos Stavrou aaf6bf8b5c
Review modus-themes-diffs; CHANGE fg-only meaning
Please read the report in issue 183 (includes screenshots):
<https://gitlab.com/protesilaos/modus-themes/-/issues/183>.
2021-04-21 13:12:32 +03:00
Protesilaos Stavrou ffa2809c30
Add snippet with all customisations and values 2021-04-20 16:47:06 +03:00
Protesilaos Stavrou 3c6efc481c
Remove old deprecated options (prior to 1.0.0)
Users who could be affected by this will be using old GNU ELPA packages
up to version 0.12.0 (summer 2020) or earlier.  Since then we have
updated GNU ELPA to 1.2.0 and 1.3.0, so there is no need for the next
version (1.4.0) to keep this code.

I am pushing this early in the development cycle of 1.4.0 so that we get
plenty of time to deal with any possible breakage.
2021-04-20 16:34:17 +03:00
Protesilaos Stavrou a3ff6dc946
Update to version 1.3.2 2021-04-18 06:27:07 +03:00
Protesilaos Stavrou 53af303cd8
Fix typos and minor issues in the manual 2021-04-18 06:26:46 +03:00
Protesilaos Stavrou 1903cf6530
Bump file versions to 1.3.1 2021-04-17 19:04:11 +03:00
Protesilaos Stavrou 3d131e6e04
Update to version 1.3.1 (minor tweaks) 2021-04-17 18:59:42 +03:00
Protesilaos Stavrou 3d01300316
Tweak 'corfu-current' face
Avoids overlap between the current line and the scroll bar.
2021-04-17 18:58:21 +03:00
Protesilaos Stavrou 22333cdab7
Remove negative space 2021-04-17 18:58:10 +03:00
Protesilaos Stavrou e82fcb4701
Remove obsolete notice from the manual 2021-04-17 18:50:26 +03:00
Protesilaos Stavrou 69248a97c9
Update modus-themes to version 1.3.0 2021-04-17 18:34:51 +03:00
Protesilaos Stavrou 2b26ccbad2
Add support for Corfu
This is a new package by Daniel Mendler (author of consult, vertico...):
<https://github.com/minad/corfu/>.
2021-04-17 17:24:27 +03:00
Protesilaos Stavrou b7412ee9b1
Clarify wording of commit eba0ca9ce2 2021-04-17 11:45:13 +03:00
Protesilaos Stavrou 9a47ee324d
Align rcirc-prompt with other prompts (b3b7f66645) 2021-04-17 11:01:50 +03:00
Protesilaos Stavrou eba0ca9ce2
Update manual on mode line distant-foreground
Thanks to Nicolas De Jaeghere for providing this valuable piece of
information:
<ab6ba69826 (note_551342198)>
2021-04-14 13:25:21 +03:00
Protesilaos Stavrou c8c1d523bd
Refine calendar and diary faces
We are now using blue instead of green for the diary, because the former
is generally better for accessibility and fits in nicely with the
overall aesthetic of the themes.
2021-04-14 08:36:42 +03:00
Protesilaos Stavrou 13023de5c6
Add docs about overriding colour saturation
This addresses issue 166 by user pRot0ta1p, to whom I am thankful:
<https://gitlab.com/protesilaos/modus-themes/-/issues/166>.
2021-04-12 09:16:37 +03:00
Protesilaos Stavrou 3c9b98f61e
Replace "grey" with "gray" for consistency
It is only left in one place for backward compatibility with an old
symbol for 'modus-themes-org-blocks'.
2021-04-11 10:51:52 +03:00
Protesilaos Stavrou ab6ba69826
Add three new "accented" mode-line styles 2021-04-11 10:33:10 +03:00