Commit graph

605 commits

Author SHA1 Message Date
Philip Kaludercic c60bb7b763 Prevent indentation using tabs 2021-06-04 11:03:57 +02:00
Protesilaos Stavrou 010492718c
Revert "Implement prototype of modus-themes-org-agenda"
This reverts commit a3e0a7425b.

Apologies for that!  It should go on a separate branch for the time
being.
2021-05-30 11:18:46 +03:00
Protesilaos Stavrou a3e0a7425b
Implement prototype of modus-themes-org-agenda
This is an alist that is meant to control all relevant aspects of the
Org agenda buffers.

Thanks to Gustavo Barros for helping me figure out the best parameters
for this (and for the ongoing feedback in issue 208):
<https://gitlab.com/protesilaos/modus-themes/-/issues/208>.
2021-05-30 11:14:45 +03:00
Protesilaos Stavrou d54b0c75f3
Refine several Org agenda faces
The idea is to reduce exaggerations and make things look more
consistent.

Thanks to Gustavo Barros for the valuable feedback in issue 208:
<https://gitlab.com/protesilaos/modus-themes/-/issues/208>.
2021-05-30 11:12:49 +03:00
Protesilaos Stavrou 2a8d52a1fb
Make org-agenda-done respect deuteranopia
This means to turn from green into blue when users enable the variable
modus-themes-success-deuteranopia.
2021-05-30 11:11:11 +03:00
Protesilaos Stavrou 79f537cc9b
Tweak default foreground of Org block delim line
Makes the foreground colour gray, instead of the gray-green it was
before.  This covers the default style but also the one you get when
using this:

    (setq modus-themes-org-blocks 'gray-background)
2021-05-29 21:11:42 +03:00
Protesilaos Stavrou 8ce97d81fd
Make org-mode-line-clock-overrun less intense
Thanks to Gustavo Barros for the valuable feedback in issue 208:
<https://gitlab.com/protesilaos/modus-themes/-/issues/208>.
2021-05-28 23:52:32 +03:00
Protesilaos Stavrou a637562831
Simplify conditional inheritance of fixed-pitch
This is an internal change.  It concerns the implementation of
'modus-themes-no-mixed-fonts'.
2021-05-27 15:13:58 +03:00
Protesilaos Stavrou 6589f7f52a
Change colour of transient-argument
This is meant to avoid conflicts when using transient-semantic-coloring.

Also check commit f524dad8ab.
2021-05-26 20:37:03 +03:00
Protesilaos Stavrou f524dad8ab
Refine colour-coding for hydra and transient
These are meant to tone down some excesses with the standard red and to
adapt other colours to it.

Thanks to Gustavo Barros for providing suggestions and helping me tweak
those faces in issue 206:
<https://gitlab.com/protesilaos/modus-themes/-/issues/206>.
2021-05-26 20:30:21 +03:00
Protesilaos Stavrou c3f2736df8
Review whitespace-line face to look like a warning
Thanks to Pengji Zhang for the feedback in issue 204:
<https://gitlab.com/protesilaos/modus-themes/-/issues/204>.
2021-05-26 19:32:15 +03:00
Protesilaos Stavrou 91a90897d3
Add support for ledger-mode
Thanks to Pengji Zhang for the feedback in issue 202:
<https://gitlab.com/protesilaos/modus-themes/-/issues/202>.
2021-05-26 19:05:19 +03:00
Protesilaos Stavrou 6aa206aadf
Review org-code face
The idea is to (i) make it look more like org-verbatim and (ii) tone
down its overall colouration.

Thanks to Gustavo Barros for suggesting this change in issue 206:
<https://gitlab.com/protesilaos/modus-themes/-/issues/206>.
2021-05-26 17:39:29 +03:00
Protesilaos Stavrou f4cefc2976
Refine intensity of modus-vivendi basic yellows 2021-05-26 16:54:51 +03:00
Protesilaos Stavrou fb4713bc7c
Remove build date from the manual
This is meant to make the file reproducible, otherwise it keeps changing
whenever a new version of Emacs is built.  Refer to Emacs bug#48661:
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48661>.
2021-05-26 12:00:17 +03:00
Protesilaos Stavrou f3357f0952
Add support for selectrum-mouse-highlight
This makes the mouse hover effect for selectrum look the same as in most
other contexts.  Thanks to okamsn for the feedback in issue 203:
<https://gitlab.com/protesilaos/modus-themes/-/issues/203>.
2021-05-26 10:07:44 +03:00
Protesilaos Stavrou 8cd5d91fb0
Remove background from outline-minor-faces
It contradicts several of the styles in 'modus-themes-headings'.  Users
are encouraged to tweak that variable instead (it can be controlled on a
per-heading basis and has lots of possible styles).

Thanks to Gustavo Barros for the valuable feedback in issue 205:
<https://gitlab.com/protesilaos/modus-themes/-/issues/205>.
2021-05-25 23:18:14 +03:00
Protesilaos Stavrou 599c703043
Fix typo; add missing 'rainbow-no-bold' reference
Thanks to Gustavo Barros for reporting those in issue 201:
<https://gitlab.com/protesilaos/modus-themes/-/issues/201>.
2021-05-25 20:27:37 +03:00
Protesilaos Stavrou e4fbd0731c
Document new modus-themes-inhibit-reload defcustom
Thanks to Philip Kaludercic for providing this feature in merge request
38: <https://gitlab.com/protesilaos/modus-themes/-/merge_requests/38>.
2021-05-25 15:16:23 +03:00
Protesilaos Stavrou dbf2858bfb Merge branch 'custom-setter' into 'main'
Add custom setter for user options

See merge request protesilaos/modus-themes!38
2021-05-25 11:49:56 +00:00
Philip Kaludercic d555dd916d Convert modus-themes--inhibit-reload into a user option 2021-05-25 13:36:06 +02:00
Philip Kaludercic b207727ba8 Remove old header comment 2021-05-25 13:27:24 +02:00
Philip Kaludercic 97065bcb88 Initialize all user options using custom-initialize-default 2021-05-25 13:23:55 +02:00
Protesilaos Stavrou e0eea31b46 Merge branch 'face-group' into 'main'
Define separate sub-group for faces

See merge request protesilaos/modus-themes!39
2021-05-25 10:54:10 +00:00
Philip Kaludercic a9499d15d0 Define separate sub-group for faces 2021-05-25 12:33:10 +02:00
Philip Kaludercic aa54120f9a Inhibit reloading theme in modus-themes-load- commands 2021-05-25 12:16:06 +02:00
Philip Kaludercic 54d85124b2 Merge remote-tracking branch 'upstream/HEAD' into custom-setter 2021-05-25 11:58:00 +02:00
Protesilaos Stavrou 15c973f716
Update to version 1.4.0 2021-05-25 12:27:07 +03:00
Protesilaos Stavrou 4abae79458
Recompile Info manual 2021-05-25 12:25:25 +03:00
Protesilaos Stavrou ea7a0b3ca4
Make minor wording changes to the manual's FAQ 2021-05-25 12:25:04 +03:00
Protesilaos Stavrou 2a2a4b2299
Prepare the manual for version 1.4.0 2021-05-25 12:14:04 +03:00
Protesilaos Stavrou 00088dedd5
Add FAQ to the concept index 2021-05-25 12:06:21 +03:00
Protesilaos Stavrou adacf8632a
Add missing "FAQ" tag in the manual 2021-05-25 12:05:21 +03:00
Protesilaos Stavrou 93bd0cfda1
Remove support for pulse.el until further notice
This is in response to issue 200, reported by Gustavo Barros:
<https://gitlab.com/protesilaos/modus-themes/-/issues/200>

In essence, we are not sure whether the themes may be causing
unpredictable behaviour with the ':extend' property of the pulse faces,
which sometimes stops working.

The doc string of pulse-highlight-face does not give us confidence:

    Face used during a pulse for display.  *DO NOT CUSTOMIZE*
    Face used for temporary highlighting of tags for effect.

However we could not find a case in emacs.git where the face is reset or
otherwise changed.  Furthermore, it is not clear how theme support for
it can cause a problem: the worst that could happen is for the
overriding attributes to be applied, though we have no indication of
that.
2021-05-24 20:50:45 +03:00
Protesilaos Stavrou 81de515334
Update sample configs to match commit ab31d5ba4b 2021-05-23 23:22:17 +03:00
Protesilaos Stavrou ab31d5ba4b
Add borderless+accented mode line variants
I thought I had already applied this patch last week, but I had left it
in the git stash instead...

Thanks to John Haman for reporting this in issue 199:
<https://gitlab.com/protesilaos/modus-themes/-/issues/199>.
2021-05-23 23:16:56 +03:00
Protesilaos Stavrou 11006063c2
Render as bold notmuch header in show mode
This is to make it stand out more without overriding any foreground
colour, such as that of the tags.
2021-05-23 10:08:51 +03:00
Protesilaos Stavrou 072f111908
Re-order variables in file description 2021-05-22 20:27:29 +03:00
Protesilaos Stavrou 4776e586b1
Minor doc string corrections 2021-05-22 20:14:14 +03:00
Protesilaos Stavrou b8922b7e38
Tweak default foreground for heading level 8 2021-05-22 09:20:43 +03:00
Protesilaos Stavrou b86157da0d
Fill some doc strings to correct column 2021-05-22 09:09:56 +03:00
Protesilaos Stavrou 290abf9d81
Remove obsolete comment 2021-05-22 09:07:43 +03:00
Protesilaos Stavrou e785c28d18
Use "variables" instead of "options" 2021-05-22 09:05:59 +03:00
Protesilaos Stavrou d426fd28e9
Recompile manual 2021-05-21 11:19:02 +03:00
Protesilaos Stavrou 1841b74234
Document FAQ on best setup for legibility
This specific entry is related to issue 193, with the participation of
André Alexandre Gomes: <https://gitlab.com/protesilaos/modus-themes/-/issues/193>.
2021-05-21 11:17:46 +03:00
Protesilaos Stavrou 809ed21382
Document FAQ on choice of colours 2021-05-21 11:17:01 +03:00
Protesilaos Stavrou afe20d987a
Document FAQ for avoiding exaggerations in design 2021-05-21 11:01:19 +03:00
Protesilaos Stavrou 3db7cabf27
Document FAQ for contrast between adjacent colors 2021-05-21 11:00:42 +03:00
Protesilaos Stavrou ead479b222
Add frequently asked questions to the manual 2021-05-21 10:54:28 +03:00
Protesilaos Stavrou 334a472a1d
Remove superfluous code from internal function 2021-05-20 19:51:15 +03:00