Brief: Set the overall style of diffs.
Symbol: modus-themes-diffs
(‘choice’ type)
Possible values:
nil
(default)
desaturated
bg-only
The default (nil
) uses fairly intense color combinations for diffs, by
applying prominently colored backgrounds, with appropriately tinted
foregrounds.
Option desaturated
follows the same principles as with the default
(nil
), though it tones down all relevant colors.
Option bg-only
applies a background but does not override the text’s
foreground. This makes it suitable for a non-nil
value passed to
diff-font-lock-syntax
(note: Magit does not support syntax highlighting
in diffs—last checked on 2021-12-02).
When the user option modus-themes-deuteranopia
is non-nil
, all diffs
will use a red/blue color-coding system instead of the standard
red/green. Other stylistic changes are made in the interest of
optimizing for such a use-case.
Option for red-green color deficiency or deuteranopia.
In versions before ‘2.0.0’ there was an option for foreground-only diffs. This is no longer supported at the theme level because there are cases where the perceived contrast and overall contextuality were not good enough although the applied colors were technically above the 7:1 contrast threshold.